Failing to validate First name as required
-
The field has no required attribute on the html input element.
When the form is submitted, it sends the form data via AJAX to validate the data. Using serialize, javascript uses the placeholder as value when empty.
It might notice and show the error when you click on submit button, but it fails to detect the error when you click on the button again without doing anything to the form.
Tested on google Chrome V.47
- The topic ‘Failing to validate First name as required’ is closed to new replies.