Validate hidden field is left blank
Looked for answer in this forum & many other places, can't see it. Just want to know how to ensure a hidden field is left blank using form validation. Area in blue is where I am stuck.
Code snippet follows :
frmvalidator.addValidation("Email","req", "Please enter your e-mail address");
frmvalidator.addValidation("Hidden","req", "No data please");
Thanks for any help or direction you can give!
Why would you validate a hidden field, the user can not change it's value.
The only way that makes sens is if it is a regular input field that is hidden via CSS so that real visitors don't see it but spambots do.
Sorry, should have mentioned that is what I was doing (using CSS to hide field & get around spambots).
Again, sorry for my ignorance, but how would I validate it on the server? Using ASP.net so in the gdform.asp file?
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)