bruce080 Posted July 23, 2009 Share Posted July 23, 2009 I currently have a form that consists of two select (drop-down menu) elements and a button. It currently submits the two variables "Product" and "Subsystem" just fine. However, I'd like it to submit a third variable without creating a form element for it. ie. I don't want to have a third drop-down menu or text box visible to the user. Is it possible to do this? Thanks in advance, Steven Quote Link to comment https://forums.phpfreaks.com/topic/167171-solved-sumbitting-extra-data-through-form/ Share on other sites More sharing options...
KevinM1 Posted July 23, 2009 Share Posted July 23, 2009 I currently have a form that consists of two select (drop-down menu) elements and a button. It currently submits the two variables "Product" and "Subsystem" just fine. However, I'd like it to submit a third variable without creating a form element for it. ie. I don't want to have a third drop-down menu or text box visible to the user. Is it possible to do this? Thanks in advance, Steven If you know in advance what the value of this third variable will be, you can create a hidden form input. That, or pass the value along in a session. Quote Link to comment https://forums.phpfreaks.com/topic/167171-solved-sumbitting-extra-data-through-form/#findComment-881439 Share on other sites More sharing options...
bruce080 Posted July 23, 2009 Author Share Posted July 23, 2009 Thanks <input type="hidden" /> was the ticket. Quote Link to comment https://forums.phpfreaks.com/topic/167171-solved-sumbitting-extra-data-through-form/#findComment-881450 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.