X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   passing html form variables to search.php using a drop down list (https://forum.x-cart.com/showthread.php?t=61109)

plnewton 10-04-2011 09:43 PM

passing html form variables to search.php using a drop down list
 
I'm currently using a drop down menu to gather some data from xcart to display, but when I submit using an html form to search.php, it's not passing the select options.

You can see it in action here, the two different drop downs; http://5dollarinkcartridges.com.au/newsite/manufacturers.php?manufacturerid=3

Try it, and you will see all it does is load search.php without passing a search string.

Is there a certain hidden input variable, or something that I need to do specifically to make this work?

What do I need to do? I'm beating my brains over this! Please advise!

plnewton 10-05-2011 12:40 AM

Re: passing html form variables to search.php using a drop down list
 
ha. all i needed to do was use the form GET command, and it works fine.

plnewton 10-06-2011 05:11 PM

Re: passing html form variables to search.php using a drop down list
 
Also, you need to use the hidden tag for extra fields, if you are trying to search for that. ;)


All times are GMT -8. The time now is 05:17 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.