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 -> ASP

 Error Collection Question

Print topic Send  topic

Author Message
smalloy

Posts: 107
Posted: 05/26/2005, 8:46 AM

Just wondering how when using the object.Errors.AddError ASP maintains the user's entered data on the form when an error is encountered. If the server is processing the validation I would think that the page would return with empty fields along with the error message.

Just a question I have in trying to gain a broader understating of how ASP works.




_________________
Anything can be done, just give me time and money.
View profile  Send private message
Nicole

Posts: 586
Posted: 05/27/2005, 1:46 AM

Hello,
I try to provide some explanation about how record (and editable grid) forms work. When form is submitted all values from input controls are passed from it. Then in a code all of them are retrieved and stored , then validated. So if validation error occurs stored values are assigned to controls and form is displayed with error message. If validation is passed successfully stored values are passed to SQL queries which are to be executed.
You can look at generated code of any Record form to see it.

_________________
Regards,
Nicole
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.