HTML required attribute in mandatory input
- llsm
- Member | 121
Hi,
if youre using setRequired or Form::FILLED, it automatically adds required
attribute to input. That unfortunately has bad effect in browsers (not using
netteForms.js), because they never show error message, only marks empty
mandatory fields. I think, there should be way to disable this attribute and
have unitary behaviour of form validation.
Last edited by llsm (23. 7. 2014 17:46)

- David Matějka
- Moderator | 6445
you can disable html5 validation using:
$form->elementPrototype->novalidate = "novalidate";
RSS feed
Topic closed