MarkEvans
06-15-2001, 02:10 PM
A question - Does anyone know how I can get a form to pick up a 'query string' from a link. An example how to do this, would be great! (poor at javascript)
-------------------
Earlier post below)
-------------------
Can anyone help me out this this ...
The situation:
I have a list of links on a page pointing to one form. How do I get the form to pick up which link was pressed and update a hidden 'subject' field on the form page.
e.g
LINK1: Enquire about 'a'
LINK2: Enquire about 'b'
LINK3: Enquire about 'c'
If the user pressed LINK2, the form (on the next page) would automatically have a subject field called "Enquire about 'b'" when submitted
I guess this can be done with Javascript and cookies, but I don't know how.
Any help would be great!
-------------------
Earlier post below)
-------------------
Can anyone help me out this this ...
The situation:
I have a list of links on a page pointing to one form. How do I get the form to pick up which link was pressed and update a hidden 'subject' field on the form page.
e.g
LINK1: Enquire about 'a'
LINK2: Enquire about 'b'
LINK3: Enquire about 'c'
If the user pressed LINK2, the form (on the next page) would automatically have a subject field called "Enquire about 'b'" when submitted
I guess this can be done with Javascript and cookies, but I don't know how.
Any help would be great!