Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error handling
Message
 
To
03/01/2000 11:20:34
Christian Bellavance
Université du Québec à Hull
Hull, Quebec, Canada
General information
Forum:
Visual Basic
Category:
VBScript
Title:
Miscellaneous
Thread ID:
00311700
Message ID:
00313429
Views:
36
>How do you handle error in an ASP file. (ex. a required field that is missing and you want reload the page but with an error message at the beginning).
>
>Thanks.
Christian, the best way is to use JavaScript on the client side.

Somewhere on your screen is a submit or ok button.

for that button: onClick="f_validate_fields()"
then write the javascript function f_validate_fields.

This is also VERY fast on the client side.

HTH
Carl R. Perkins
Carl R. Perkins
NJ5J Software Corp. http://www.nj5j.com
Previous
Reply
Map
View

Click here to load this message in the networking platform