CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Addin Querystring Parameter and Failing Form Validation

Print topic Send  topic

Author Message
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.
View profile  Send private message
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
View profile  Send private message
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
View profile  Send private message
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.
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.