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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

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

(Solved) [UserForms] Adding onBlur validation on textareas


Go to End


2120 Views

Avatar
rndmerle

Community Member, 24 Posts

25 April 2009 at 12:19pm

Hi.

The javascript validator didn't validate textareas on-the-fly (onBlur).
Here is a diff file of /sapphire/forms/Validator.php with the extra javascript code I added.

Regards.