I am looking for advice. I've got quite a large form I'm building and I've never done something like this before so I am trying to figure out the best way to do things. I'm working with vanilla JS to validate my fields. I want to set up essentially two layers of validation. The first layer would be for each individual field. On blur I want to check for little things, like, if it is a name input and they put numbers, or for the postal code that it follows the direct pattern.
For each of these I want to have a separate validator and, at the end, if all the little validations are true AND all the fields have been filled out, I want a disabled input to become enabled.
Can anyone guide me as to the best way to go about this?
Any help would be great.