When should be validation on a field by field basis be done. What event? Killfocus won't work if you need to branch to set focus to a field based on the contents of the field you are validating.
Do you set a global variable with the id and what to do info in the Killfocus event if there is an error and call a function in the set focus of every control on the screen to redirect to a catchall traffic cop function that will either go where the keyboard or mouse directs or force the cursor back to the field where an error occurred.
In some cases the en_change event will work fine but what if the value can't be evaluated until the user attempts to leave the field?
Bob Mechler
Do you set a global variable with the id and what to do info in the Killfocus event if there is an error and call a function in the set focus of every control on the screen to redirect to a catchall traffic cop function that will either go where the keyboard or mouse directs or force the cursor back to the field where an error occurred.
In some cases the en_change event will work fine but what if the value can't be evaluated until the user attempts to leave the field?
Bob Mechler
Comment