Tag Archives: validation

(JavaScript) Basic jQuery form validation

CSS: .error style the error class Form HTML: class=”required” makes the input field required minlength=”2″ makes the field require at least 2 characters

Posted in JavaScript | Also tagged , , , , , , | Leave a comment

Test for a valid e-mail address and MX records in PHP

Tests for a valid email address and optionally tests for valid MX records, too.

Posted in PHP | Also tagged , , , , , , , , | Leave a comment

(PHP) Clean Input

code below can be used to clean any input, submitted by any form etc.

Posted in PHP | Also tagged , , , , | Leave a comment

(iPhone) NSPredicate for Text Length & Email Validation

Posted in Objective-C | Also tagged , , , | Leave a comment