Can I pass a parameter in a hyperlink?

F

freddyy

I have a hyperlink defined on a page. I added a parameter to the hyperlink
(querystring name "activity" with a value of "activity1"). The hyperlink is
to a page with a form on it. I want that value of 'activity' to be the value
of a hidden field on that form. My plan is to have several different links
throughout the website go to the same page/form and the value of this hidden
field will tell the process where it came from.
 
C

chris leeds

if you're using .asp you'd request.query string, to find out what the value
is, then you'd assign that value to the hidden field.

you'll need to know what kind of scripting is available on your server.

I made a simple template for a lady who makes custom jewelry that uses this
type arrangement (so I only had to make one "display" page) it's at
www.createdbycarolyn.net you'd just have to watch the address bar and drill
down into a specific necklace to see how it works.

HTH

--
Chris Leeds,
Microsoft MVP FrontPage

The email address on this posting is a "black hole". I got tired of all the
spam.
Please feel free to contact me here:
http://nedp.net/contact/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top