CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Validation strategies

Print topic Send  topic

Author Message
stanhecht

Posts: 6
Posted: 03/16/2004, 1:40 PM

Well, my eyes are mighty tired from going thru CCS docs and tutorials, but I'm still curious about data validation. Is CCS using any client-side validation? Or do all the field values get POSTed back to the server for validation there?

Rephrasing that question ... assume I want to do simple form validations at the client (eg, required fields entered, numbers in range, etc). Is CCS generating any javascript to help with this, or is it necessary for me to write appropriate javascript code blocks and send them to the client along with the web page.

Thanks,
Stan
View profile  Send private message
peterr


Posts: 5971
Posted: 03/16/2004, 1:56 PM

Many of the client-validation cases can be handled by assigning the "Validate Entry" action to the "OnLoad" client event. This is also useful for implementing the input mask.
You can see an example at http://examples.codecharge.com/ExamplePack/InputMask/InputMask.php , which is also included in CCS (CCS Example Pack).

Though I would recommend to keep the server validation anyway if you want to prevent hack attempts, such as submissions of modified forms.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
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.

MS Access to Web

Convert MS Access to Web.
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.