Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Send link value to field



8:18 pm on Nov 13, 2012 (gmt 0)

5+ Year Member


I have a page that has a list of links on it, these links all go to the same 'next' page that has a form on it. What I need is for the value in (for instance) link 3 to be added as the input in the first field in the form that is on the page the user is sent to.

Thanks to anyone for help.



8:50 pm on Nov 13, 2012 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

You could alter the next url with an added value, e.g.
Then $_REQUEST the url from there, make it a variable, and then include the variable in the value of the field.

If you want to make it dynamic however, then you will need to explode the link, and create a variable from there, that will be inserted into the destination url value.


9:26 pm on Nov 13, 2012 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

Was just thinking, that if you didn't want to affect the urls, then you could create them as session variables.


1:10 am on Nov 15, 2012 (gmt 0)

WebmasterWorld Senior Member vincevincevince is a WebmasterWorld Top Contributor of All Time 10+ Year Member

Are you trying to do this without modifying the destination pages?

Featured Threads

Hot Threads This Week

Hot Threads This Month