-
- 11 Posts
I have an registration form[firstname,phone number,email etc] in my site,I need to validate it,
The validation is working but it doesn’t check whether it is integer or not,or string or not
Its quite urgent for me to get this done
Kindly help me on this at the early as possible
Note:I am working with eform
-
- 11 Posts
Thanks for your response,..
-
- 572 Posts
Hi,
where is the above code added please?
thanks for any help
www.9thwave.co.uk
WEB | DESIGN | PRINT
Add it as an attribute to the form’s input field:
<input type="text" name="phone" id="phone" eform="Telephone::1:Use only numbers, hyphens and spaces:#REGEX /^([0-9]*\-?\ ?\/?[0-9]*\-?\ ?\/?[0-9]*)$/" />