Hello:
I have a very long form which I split into five pages. The script is written in PHP but I’m using JavaScript to validate the fields. I did place a post with the PHP forum to see if they can help me using PHP code. In the meantime, I’ve had success using JavaScript with my forms. But I’ve run into a problem.
I was able to validate the fields for the first page of the form. I click Submit and go to page 2. On page 2, if I leave a field blank and click Submit, I should receive a message saying field must be filled in, it doesn’t, instead I go to page 3. Apparently, on page 2 and forward I cannot validate the data.
Is there a way to validate a form which spans across multiple pages?
Thank you in advance for all the help.