Form Validation

Similar to Number & Image form validation this example takes images with digits randomly and displays these for validating form.

{ 3 comments }

This example is simple php, javascript image and number form validation. You can show number or image or both. If users enters correct number displayed then he can proceed with form submission. This example is using images containing numbers and these display randomly to validate form.

{ 0 comments }

This is simple form authentication by a random number generated by PHP and authenticated by javascript. It can be used for spam control.

{ 0 comments }

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 @. […]

{ 0 comments }

I have a feeling that every bit of any twitchy and creepy thing with web page can be done with a nice JS file. Got a form? Does it validate? Does it smack your face with a boring alert box saying! “Hey! Yo! You did not enter your name? Did you think I was stupid […]

{ 2 comments }

Following script will check that whether user has entered the number or digit in field. e.g. In Phone Number Text Field.

{ 0 comments }

In forms to prevent people from writing jhgkljtb7ibylihyb8lyi in phone TextField use the following script.

{ 1 comment }

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 […]

{ 0 comments }

Form Authentication or Validation Give your form a name and put onsubmit action in form tag. i.e. <form name="mailform" method="POST" action="pagename.php" onsubmit="return CheckData()"> </form> Put this in the head section of your webpage (Authentication java script). You can also create an external javascript file lets say abc.js and call it in head section of the […]

{ 0 comments }