paulmason411
Posts: 127
|
| Posted: 08/21/2008, 7:04 PM |
|
Hi Guys,
This seems really simple but for some reason I can't get it to work.
I have a button with a Return Page and have added the following line as custom code for the On Click event:
CCAddParam(CCGetQueryString("QueryString",""), "step_id", 1);
When I click the button, I get returned to the correct page without the QueryString parameter I specified.
Any help or suggestions would be handy.
Cheers.
_________________
http://paulmason.name - Web Development Blog
|
 |
 |
mentecky
Posts: 321
|
| Posted: 08/25/2008, 4:08 PM |
|
I see this one went unanswered for a while so I'll take a shot.
Try the following:
global $Redirect;
$Redirect = "return_page.php?".CCAddParam(CCGetQueryString("QueryString",""), "step_id", 1);
Replace "return_page.php" with the actual page you want it to be redirected to.
Rick
_________________
http://www.ccselite.com |
 |
 |
paulmason411
Posts: 127
|
| Posted: 08/26/2008, 3:36 AM |
|
Thanks Rick, that worked! Knew it was something like that.
_________________
http://paulmason.name - Web Development Blog
|
 |
 |
mentecky
Posts: 321
|
| Posted: 08/26/2008, 4:37 PM |
|
No problem Paul! Glad I could help.
Rick
_________________
http://www.ccselite.com |
 |
 |
|