lgalocgoc2
Posts: 35
|
Posted: 12/06/2012, 3:49 AM |
|
hello,
any idea on how I can get the inputted value from other page?
i.e: I have a register page and a thank you page, in a register page, i asked user to input their information and once they hit register button, it redirects them to the thank you page, now I want to display his/her first name in the thank you page but how can I get the firstname value from the registration page?
please help.
thanks.
|
|
|
Gena
Posts: 591
|
Posted: 12/06/2012, 4:37 AM |
|
put it in session or cookie variable
then retrieve
_________________
Gena |
|
|
lgalocgoc2
Posts: 35
|
Posted: 12/06/2012, 4:43 AM |
|
Quote Gena:
put it in session or cookie variable
then retrieve
thanks for your reply..but how? any hint? im sorry but i am new with CCS.
|
|
|
Gena
Posts: 591
|
Posted: 12/06/2012, 5:11 AM |
|
something like this
in the Register form, on Validate event put code
CCSetSession("your_firstname",$Component->firstname ->Getvalue()");
in Thank you page put Label, in BeforeShow event put code like
$Component->LabelName->Setvalue( CCGetSession("your_firstname","") )";
_________________
Gena |
|
|
|