Welcome to WebmasterWorld Guest from 126.96.36.199 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Become a Pro Member
Send link value to field geoffb msg:4518825 8:18 pm on Nov 13, 2012 (gmt 0) Hi, 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. geoffb
whatson msg:4518833 8:50 pm on Nov 13, 2012 (gmt 0)
You could alter the next url with an added value, e.g. next.php?link3 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. whatson msg:4518855 9:26 pm on Nov 13, 2012 (gmt 0)
Was just thinking, that if you didn't want to affect the urls, then you could create them as session variables. vincevincevince msg:4519209 1:10 am on Nov 15, 2012 (gmt 0)
Are you trying to do this without modifying the destination pages?