When inputting data into forms it's often valuable to be able to limit the input options of the user, E.g: Only allowing numbers in a telephone field.
Here are some of the methods I've developed for such tasks. They all take the ASCII code of the last input value into the form control, and use a select case to see if the input is valid.
In the control of the form the routine can be called as such;
And here are the validation methods;Please Login or Register to view this content.
Please Login or Register to view this content.
Please Login or Register to view this content.
Please Login or Register to view this content.
Hope you find this useful.Please Login or Register to view this content.
Bookmarks