Hidden form fields not being submitted?
Posted on 2003-12-09
I'm wondering if anyone has had any experiences where hidden form fields are not being submitted along with the rest of the input fields when a submit button is clicked?
I had a user who was having troubles registering at one of my signup pages. After reviewing my code, I only see two possible reasons for the trouble. Either A) he wasn't asnwering all the questions, and was ignoring the big, red error message being displayed, or B) the hidden form field required by the validation script was not being sent back with the rest of the data.
The guy has since become too frustrated and given up, so I can't use him to verify either of the possibilities, but I'm giving him the benefit of the doubt and assuming that he was not being shown any error messages since they should have been painfully obvious.
And in that case, that leaves me with the hidden form field question. What I'm wondering is if there is maybe some obscure privacy tool that blocks hidden fields? I'm having a hard time believing that one would exist since that would block access to many legitimate sites, but right now I'm grasping at straws. And if it's not some sort of privacy tool blocking the hidden field, do you know of a browser setting that may have any effect like this? Maybe when the form is being reloaded the page is being pulled from the cache and so the big red error that should be visible is not. I've tried messing with settings, but as of yet haven't been able to reproduce the problem.
It should be noted that the form has worked fine for hundreds of other users, so I seriously doubt the problem is server side. I've thought about just ignoring the problem since it's one in a couple hundred, but if it happens again in the future I'd like to know why.