And clicking the 'OnSite' link near the top to go the the form I'm having difficulties with.
This isn't a PHP problem because I've posted to a PHP help forum and they said the problem would be with the JavaScript.
I've got some brief PHP if statements checking that the required fields were filled out after the 'Review' button is pushed, and if not, the form reloads with what the user previously entered into the fields. The issue is that if someone hits the 'enter' button when writing something in the textarea boxes to start a new line in the textarea box, after which if you hit the 'Review' button the form fails to load! It seems such a strange thing to trip everything up.
An example of the PHP code to catch the POST information is below:
If you want to pass multiline string via JavaScript (e.g. as a node's caption in tree_nodes.js), you should use double quotes and "\n" special sequence, e.g.: