Here’s a form validation script that is very easy to use.
Really Easy Field validation with Prototype
Instructions
The basic method is to attach to the form’s onsubmit event, read out all the form elements’ classes and perform validation if required. If a field fails validation, reveal field validation advice and prevent the form from submitting.
Include the javascript [...]
Posts Tagged ‘validation’
Really Easy Field validation with Prototype
Posted in CSS, Design, JavaScript, My Blog, MySql, PHP, tagged CSS, handle, js validation, My Blog, MySql, PHP, validation on May 20, 2009 | Leave a Comment »
Javascript validation check
Posted in JavaScript, PHP, tagged check, JavaScript, PHP, validation on May 28, 2008 | 3 Comments »
There ate two javascript validation function i have made.
First one check empty field using id. We may use field id by an array as bellow. This function check empty field and if found empty field then focus that field also. We may use here another condition like email, phone number check. I think this will [...]