I'm trying to make myself a form, but I need to prevent some UX stuff depending on if a form was entered correctly. Is there an api for manually issuing the validation routine to a form's field? I know that I could listen to the post-validation events, but I actually need to start the validation from an external source.
Is this possible?
You can dispatch a change event to the form with jQuery: $("#myForm").trigger("change");
It will trigger validation.