Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Form Questions /

OnBlur of textfield validation


Reply


1355 Views

Avatar
Elemental

Community Member, 8 Posts

9 July 2009 at 1:31am

Hi all,

Is there a way for validation to be done differently instead of using the onblur of a textfield?

I am trying to validate a form, but only want it to validate on submit or onblur (regardless of whether the textfield has values or not).

Currently the validation only seems to kick in once the onblur of a textfield event is triggered AND the field is empty (if its a required field).

Please advise.

thanks
Elemental
http://www.elemental.co.za