hi,
Is there a way to create a function that is smart enough to do all kind of form validation . Basically, I can pass form elements one at a time , then the function can validate for the following:
check if field is either integer ,string or date
Once the datatype is determined, it validates for all kind of things that may go wrong...
this would apply to all element of the form.....
I read about MS vb.Net validation and thought if there is a single function that dose all different validation. If there is such solution, please advice
Is there a way to create a function that is smart enough to do all kind of form validation . Basically, I can pass form elements one at a time , then the function can validate for the following:
check if field is either integer ,string or date
Once the datatype is determined, it validates for all kind of things that may go wrong...
this would apply to all element of the form.....
I read about MS vb.Net validation and thought if there is a single function that dose all different validation. If there is such solution, please advice