rho
Posts: 85
|
| Posted: 03/20/2005, 5:58 AM |
|
Hi,
when submitting a record form in CCS, I add a parameter to the querystring to process the page after it is submitted using a redirect="test.asp?option=1" in the After_Update() event.
So being on URL: URL: http://localhost/test.asp
This results in: http://localhost/test.asp?option=1
So this works okay if the Update() works okay, but fails if the form Validation fails. The URL then gets
http://localhost/test.asp?ccsForm=Form1%3AEdit
How do I get the 'option=1' into the querystring if the validation fails? I have tried various events, but nothing seems to work. What am I missing? Any hints appreciated!
Cheers, Rob.
|
 |
 |
Oper
Posts: 1195
|
| Posted: 03/20/2005, 8:45 AM |
|
use:
Response.Redirec "Test.asp?Option=1"
_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)
http://www.PremiumWebTemplate.com
Affiliation Web Site Templates
Please do backup first |
 |
 |
Oper
Posts: 1195
|
| Posted: 03/20/2005, 8:46 AM |
|
Response.Redirect ................... (t Typo)
_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)
http://www.PremiumWebTemplate.com
Affiliation Web Site Templates
Please do backup first |
 |
 |
rho
Posts: 85
|
| Posted: 03/20/2005, 9:23 AM |
|
Thanks, that did the trick... I now can redirect how I want. Now the validation fails, but I can workaround that.
|
 |
 |
|