The form below will validate your entries using Ajax post requests. Using the blur event a test for each field is requested from the check.php script. If the test fails, jQuery will slide down the error message for each single form field. Using this demo, the submitted data is only tested and not stored in a database.

Note, this demo will check for existing user names (martynj, admin, bob, dave, fred), for none matching passwords and for a valid e-mail address.

Demo form (submit button is disabled)

That Username is unavailable

Email is not valid

Passwords do not match

DigitalOceanSSD Cloud Server from $5/month by DigitalOcean, simple cloud hosting, built for developers. Receive $10 in credits »
ServerPilotServerPilot is the best way to run WordPress and PHP sites on your DigitalOcean servers. First month free »