1505 Posts in 474 Topics by 460 members
Form Questions
SilverStripe Forums » Form Questions » OnBlur of textfield validation
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba
|
Page:
1
|
Go to End | |
| Author | Topic: | 934 Views |
-
OnBlur of textfield validation

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
| 934 Views | ||
|
Page:
1
|
Go to Top |

