I have a form which has been working perfectly well for one user for a couple of years. Now, I have added a new user and the form fails for that one user. (I can't see a difference in user configuration.)
The problem is that when the form is submitted using the following button:
The form is submitted but it returns with no values set and does not process any of the form data. Even echoing out $_POST['submit'] returns a null value
I have placed the following code at the top of the page:
And then placed the following code in the body of the form:
When the page first loads "test" is NULL as one would expect.
If I place the "test" hidden input element at the top of the form and click "Next" the value of test is "Test"... correct
If I place the "test" hidden input element at the bottom of the form and click "Next" the value of test is NULL
By moving the hidden input I have found that there is a specific part of the form which is causing a problem. If the input element is before the code, "test" has a value. If it is after that code, "test" is null.
The offending code is here:
I can't for the life of me figure out why this is causing a problem.
Any thoughts would be greatly appreciated