Jennifer
2014-01-25 20:45:04 UTC
Hello all,
We have a PHP form with a static <option> list, where people can request a product sample.
http://www.superiorshelving.com/mfg/aigner/sample.php
There are links on multiple pages that call this page. I would like to send a different default option to that form from each of those pages so that the customer doesn't have to pop-up the list to choose it manually. Of course, if they go to that form directly, there shouldn't be a default.
What would be the best way to handle this? I'm thinking to have code generate the list with the default undefined, and then have the links to that page pass a variable to the form to set a default. Does that sound like it would work?
Any other ideas are appreciated!
Thank you,
Jenni
Superior Shelving Systems::::....
http://www.SuperiorShelving.com
The (Storage|Office|Home|Warehouse) Shelving Specialists
Since 1984
Wire LAN Shelving:
http://www.superiorshelving.com/mfg/nexel/pages/wire-shelving-chrome.php
We have a PHP form with a static <option> list, where people can request a product sample.
http://www.superiorshelving.com/mfg/aigner/sample.php
There are links on multiple pages that call this page. I would like to send a different default option to that form from each of those pages so that the customer doesn't have to pop-up the list to choose it manually. Of course, if they go to that form directly, there shouldn't be a default.
What would be the best way to handle this? I'm thinking to have code generate the list with the default undefined, and then have the links to that page pass a variable to the form to set a default. Does that sound like it would work?
Any other ideas are appreciated!
Thank you,
Jenni
Superior Shelving Systems::::....
http://www.SuperiorShelving.com
The (Storage|Office|Home|Warehouse) Shelving Specialists
Since 1984
Wire LAN Shelving:
http://www.superiorshelving.com/mfg/nexel/pages/wire-shelving-chrome.php