Harold Putman

Results 5 issues of Harold Putman

Override message with specific text for a particular field. For example instead of "Please lengthen this text to 50 characters or more. ..." you might want "You'll never get the...

When adding the error message nextSibling could be null (if the input is wrapped in a div). If that happens createError can get a null for location and it blows...

Rather than run every custom validators on every field, assign a list of custom validators to a field, and only run those. This seems cleaner for the general case of...

Live long and prosper.

If the error message is not there, don't abort clearing the other error attributes. When specifying custom-message-target it is possible that error message div might not be there.