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
Thanks for your response,..
Hi,
where is the above code added please?
thanks for any help
www.9thwave.co.uk
WEB | DESIGN | PRINT
-
☆ A M B ☆
- 24,524 Posts
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]*)$/" />