jriver12
asked on
Passing Variables at the end of form to a new page.
Let me clarify,
after my form has been submitted I have a page that would say your data has been posted. underneath that I would like to have a text link that once pressed would carry over some variables that were created on the previously submitted form, so they can then be used as hidden fields used to update a table on the new page via a form.
Now I have tried all Basic ways of carrying over a variable ie <input type="hidden/text" name="My field" value="#previously created#">
that did not work..
so I tried creating a query that would pull that value out of the db and then carrying it over with the text link. that did not work. if any one can show me the syntax or pointme in the right direction it would be greatly appreciated.
after my form has been submitted I have a page that would say your data has been posted. underneath that I would like to have a text link that once pressed would carry over some variables that were created on the previously submitted form, so they can then be used as hidden fields used to update a table on the new page via a form.
Now I have tried all Basic ways of carrying over a variable ie <input type="hidden/text" name="My field" value="#previously created#">
that did not work..
so I tried creating a query that would pull that value out of the db and then carrying it over with the text link. that did not work. if any one can show me the syntax or pointme in the right direction it would be greatly appreciated.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Or you could just pass the variable through the URL as such:
<a href="GoTopage.cfm?data1=< cfoutput># data1# </cfoutput> &data2=<cfoutput>#data2#</ cfoutput>
&data3=<cfoutput>#data3#</ cfoutput> "> link text </a>
Etc.
:>)
<a href="GoTopage.cfm?data1=<
&data3=<cfoutput>#data3#</
Etc.
:>)
Yup, that was my 3rd option.
I don't live on this site.. I just check in :-)
CJ
I don't live on this site.. I just check in :-)
CJ
>>Yup, that was my 3rd option.
Except I am just doing it manually, without using #URLENCODE(mylist)#, so it is not EXACTLY the same way of doing it. :>)
Except I am just doing it manually, without using #URLENCODE(mylist)#, so it is not EXACTLY the same way of doing it. :>)
But it does exactly the same thing. :>)
ASKER
cheekycj
thanks again you guys on EE are awsome.
thanks again you guys on EE are awsome.
TEFKASG: Yup.
jriver12: Thanx. We try our best :-)
CJ
jriver12: Thanx. We try our best :-)
CJ
ASKER
do you live on this site?
you seem to always jump on to my questions. not that I have a problem with that.
I am trying your suggestions now. I'll get back.