A problem of disappering POST's
Posted: Mon Feb 22, 2010 8:26 am
New to the formum so not sure if this is the right one to air this issue.
I have just taken over the maintanence of a site which nicely emails all its problems to me. I now have a series of problems that I cannot find the cause. They have a common theam, that is a user form is completed and one or more of the form elements is missing from the POST result, which causes the php script to raise an exception. Now the client side has js form validation in that it checks all elements that should have a value do have. I cannot find any problem in the js other than the page does not check for js disabled. In a couple of cases the element missing is a hidden element and not touched by the js. My js is not the that advanced but the code is not that complicated.
I cannot find any code that changes the values in the $_POST variable.
Anybody any ideas?
I have just taken over the maintanence of a site which nicely emails all its problems to me. I now have a series of problems that I cannot find the cause. They have a common theam, that is a user form is completed and one or more of the form elements is missing from the POST result, which causes the php script to raise an exception. Now the client side has js form validation in that it checks all elements that should have a value do have. I cannot find any problem in the js other than the page does not check for js disabled. In a couple of cases the element missing is a hidden element and not touched by the js. My js is not the that advanced but the code is not that complicated.
I cannot find any code that changes the values in the $_POST variable.
Anybody any ideas?