I am using abide alongside zurb foundation.
I am attempting to determine if I should disable the submit button of a form based on the valid status of the fields. In addition, I would like to make the fields as valid or otherwise.
Everything works during normal operations, but not until each field has been clicked out of or changed. Then and only then are the validators called. Due to this fact, I can't tell if the form is valid on page load.
On page load, I would like to call the validator to see if the fields are valid. I am using a combination of required
, pattern
and data-abide-validator
.