Validate and validity submitting form even after failing validation
I manage a website that uses a javascript call to an outside CRM to create a contact form (this part I can't change to local) but this contact form won't require the phone number. Since I have no control over the form data, I'm trying to use validate or validity to require the phone number field. Well I've gotten it to throw an error when the phone number isn't there, but its still submitting the form. How can I get the plug in to prevent submitting the form if the validation errors out??