We use number validation i.e. in phone number field that restrict everything in field except 0 to 1. Some times user wants that phone number should be in in different format i.e. (+92)-(300)-(4269752) instead of +923004269752 and similarly in email address field it is recommended that you just check the presence of . and @. […]
Following script will check that whether user has entered the number or digit in field. e.g. In Phone Number Text Field.
In forms to prevent people from writing jhgkljtb7ibylihyb8lyi in phone TextField use the following script.
User fills up the form and hit submit button and all the variables go to the next page or at the same page to script and script then mails or does something with variables. But what if user did not filled the form and submitted the data and your form did not have validation script […]