This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
In this survey, all code works great except when the submit button is clicked. The form returns all data except the data in text input fields - notEmpty, notEmpty2, and emailVal. Any help to get the text input field data to be sent also would be greatly appreciated.
The onsubmit action is something that happens entirely in the browser, the return value is either true (which means 'go ahead and submit the form') or false (which means 'do not submit'). If you want the server to see values, then those values have to be in fields in the form.
Also remember that the input fields in your form must have a "name" attribute. That's what the GET/POST will submit. It doesn't care about the field id, although you can make the name the same as the id if you wish.
"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." -- Ted Nelson