Jump to:

2012 Posts in 1438 Topics by 621 members

Form Questions

SilverStripe Forums » Form Questions » OnBlur of textfield validation

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1303 Views
  • Elemental
    Community Member
    8 Posts

    OnBlur of textfield validation Link to this post

    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.


Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.