Information générale
Catégorie:
Codage, syntaxe et commandes
>>>>>>>>>>>
What do people do for standard validation of data. ? how do you make screens react ?
The valid propertity while it works. is not what I am looking for, (what if the user never gets to that field, and the data, cant be left out.
Onto the question
if I have a save button, which is suppose to check the data before writing it to the database ?
like this
if thisform._textfield1=0
* something wrong"
** how to I put control back to the form, with
endif
then write the data
I tried doing a setfocus() but the save button just goes back and saves it anyway.
I was thinking of putting the isvalid() in seperate class. Anythought ?
Thank you
Bob lee
>>>>>>>>>>>
Hey Bob still in N.Y.?
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement