Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

passing field values in hyperlink

Status
Not open for further replies.

bigbird3156

Programmer
Feb 20, 2001
183
AU
Hi guys,

this is hopefully a simple one...

is there some way that I can create a hyperlink that will link up to a form page & force a value on a specific fields - say for example a dropdown menu, so that that fields is already selected for the user who hits the link

Thanks for your help

[wiggle]The Bird from Down Under- Bigbird 3156
Programmer?? - I thought the option was pretender not programmer!![jester]
 
Depending on what Server-Side language you use, you can get a value from the hyperlink and use it to pre-select the option in the form.

<a href="somepage.ext?value=myvalue">Link</a>

Then just access the value variable, and select the option when you create the drop-down.

Of course the specifics of it, will have to be asked in the pertinent forum of your server-side language of choice.

----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top