Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best ways to validate input
Message
De
24/08/1999 08:02:50
 
 
À
24/08/1999 03:37:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00256944
Message ID:
00256977
Vues:
18
>Hi,
> I would like to know that, how does validation data being done, when user press save button or lost locus/valid for each controls??
>

It depends on the type of interface you write; for VFP forms, where each field is independently capable of being validated, most of my users prefer to be told up front when they've entered an incorrect or invalid value, and then have final validation performed on the record as whole on save.

This approach doesn't work easily for HTML, where the client's browser is handling the input, and sends a screenful of data back to the application all at one time; it's also difficult to program where the values of many fields on the screen interact for validation.

It's really a design issue, and one that your end-users' requirtements should dictate.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform