validating....
hello guys,
im a newbie and i would like to know how can i validate a form to accept only 4 numerical characters.... thanx for any help given....:newbie: |
It depends which language you use. Form itself (properties) can be set to accept max 4 characters in a field (depending on the filed type). The validation part (checking if it's numerical or not) must be done later, with Java Script, PHP or any other language.
|
would kinda help if you told us anythign at all about what languages your'e using...
|
thanx all for responding.....
im using php 4 and java script. i just want that the input field show like a "warning" when an user tries to post the form having entered a number with less than 4 digits (123) in an input field.... i know that it can be validate with java....but i can't seem to find a good ol' example...:) can u help me??? |
there's so much stuff on google... for example http://www.javascriptkit.com/javatutors/form7.shtml
|
thank you, i'll check it out...
|
All times are GMT -5. The time now is 04:25 AM. |