Thread: Sending selected form fields
Results 1 to 2 of 2
required form fields in php page using redirect.php form Forum: PHP ForumReplies: 1
Dynamic form fields Forum: Website Scripts ForumReplies: 1
06-23-2002, 08:24 AM #1
Sending selected form fields
I have created a form in which it is necessary to have a field called codeword to activate an encoding script. I then want to send the contents of another field within the same form to a database WITHOUT sending the 'codeword' variable. I cannot include a simple hidden field with a default for 'codeword' because that creates faults within the script. Is there a way of sending selected form fields only? Hope someone can help.
06-23-2002, 08:49 AM #2
Your best bet would be to play with the script that the form is submitting to. HTML forms are too dumb to do clever stuff.
To get around things like before, I have used the following -
Querystring in the form - action="script.php?select=oranges"
If you need anything more definate, then try posting some sample code for us to look at.If one of our members helps you, please click the icon to add to their reputation!
No support via email or private message - use the forums!
Before you ask, have you Searched?