Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error handling
Message
 
À
03/01/2000 11:20:34
Christian Bellavance
Université du Québec à Hull
Hull, Québec, Canada
Information générale
Forum:
Visual Basic
Catégorie:
VBScript
Titre:
Divers
Thread ID:
00311700
Message ID:
00313429
Vues:
34
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform