validate
validate copied to clipboard
A lightweight form validation script.
Hi Chris, the docs footer template still references the old validityState polyfill file name. Regards, Micha
Hi Chris, running the demo with a fresh clone from master I noticed that validate.js and the polyfill were not loaded. It turned out that the templates referenced the path...
If you make your own validation (e.g. I had to compare the values of 2 fields) using field.setCustomValidity(customErrorMessageOfSomeKind) the generic error will currently be shown, just have to add these...
Hi, I was missing the customError property when working with setCustomValidity(). I think we can safely assume that a custom error was set when validationMessage contains a message but all...
Error messages set by `setCustomValidity` was ignored.
A small suggestion about subbing square brackets for hyphens when the error IDs are copied directly from the field name . In my use case in Rails, fields with names...