If you haven't already guessed, I know little to nothing about Javascript!
I tried your suggestion in 1a, but it didn't work.
I believe the getElementByID() is the way to go. But, I don't know where to put it in my code above AND how can I pass the form id to getElementByID() as a variable...
QUESTION:
If I have multiple forms with identical form field names on the same page, how can I validate them individually? Or, better yet, how do I pass the form field name to the JS and only validate that particular form?
SCENARIO:
I have a form within a PHP function that is included on the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.