Hi,
I need to add the following validation logic to text input fields, to customize them
1) Phone (numeric, 10digit), validate with the backend in (using Jscript calls preferably) to confirm the phone number is valid
2) Email – validate the domain with MX validation (again, in Jscript calls, before the user has submitted the form)
3) ZIP – validate that it's a 5-digit ZIP code
-> are there trigger APIs after the user enters the field (but before submitting the form), that i can use to validate and return a Success/Failure validation code (so cforms can popup an error message if the text field is invalid)?
Pl. advise how best to customize the cforms code, to achieve these -
thanks
kbellare