New Participant
March 4, 2018
Solved
Form validation for multiple fields
- March 4, 2018
- 2 replies
- 6451 views
On occasion people fill out our forms with bad data, for example:
First Name: aaa
Last Name: aaa
Email something@gmail.com
Company Name: aaa
I found this example written by @Sandford Whiteman: https://codepen.io/figureone/pen/JKzjvE, but it's only works for 1 field at a time, attached is my edited code. What edits do I need to make to get this to work on FirstName, LastName, Company and also stop Freemium email addresses? I've tried combining the examples out on the nation but am getting code conflicts or the form submits without checking my rules.