You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a form where one of the fields has "required" attribute. htmlunit 2.36.0 respects this and doesn't allow me to submit a form with an empty field.
In order to validate a server side validation, I added a "novalidate" attribute to a form and I expect that htmlunit will ignore client side validation and let me submit a form with an empty required field. But htmlunit still doesn't submit a form and complains that form validation failed:
[INFO] Form validation faild; element 'HtmlTextInput[<input id="name" type="text" class="form-control" required="required" name="name" value="">]' was not valid. Submit cancelled.
It seems like a bug as I believe that htmlunit should skip "required" field validation when "novalidate" is present on a form.
The text was updated successfully, but these errors were encountered:
I have a form where one of the fields has "required" attribute. htmlunit 2.36.0 respects this and doesn't allow me to submit a form with an empty field.
In order to validate a server side validation, I added a "novalidate" attribute to a form and I expect that htmlunit will ignore client side validation and let me submit a form with an empty required field. But htmlunit still doesn't submit a form and complains that form validation failed:
It seems like a bug as I believe that htmlunit should skip "required" field validation when "novalidate" is present on a form.
The text was updated successfully, but these errors were encountered: