Alexander Farkas
Alexander Farkas
Not yet tested but: http://afarkas.github.io/webshim/demos/demos/forms.html#Custom-validity ``` js webshim.setOptions('forms', { addValidators: true }); ```
@paytonk Does this work with the configuration above? The `data-grouprequired` is none-standard and all none-things have to be configured.
Try the following instead: `pattern="[(]{0,1}[0-9]{3}[)]{0,1}[-\s.]{0,1}[0-9]{3}[-\s.]{0,1}[0-9]{4}"`. HTML5 pattern already transform the string into a regular expression, which must match from start to end.
Not sure, what you mean. Normally the errormessage is placed right after the form element and normally the user scrolls the hole viewport. I need an example.
It's there, it is only not part of the feature detection. You can do this: https://github.com/aFarkas/webshim/issues/499#issuecomment-87378449
+1
Yes, but currently not a high priority.
We can not copy the name attribute, because this would give wrong values to the backend, not validating invisible elements is not standard compliant. webshim is coming with a standard...
@thejuan The spec you are referring is talking about `type="hidden"`, it does not talk about `display: none`, big difference. If you really really want to use jQuery validation, you can...
There are multiple possibilities: ``` js //The checkValidiy method return true/false, but also triggers invalid events on all invalid input, which means the validation UI is also invoked $('form').checkValidity(); //...