News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

YensDesign.com:
How to Validate Forms in both sides using PHP and jQuery
January 14, 2009 @ 11:15:02

The YensDesign blog has a recent post that steps you through the entire process (down to every detail in the code) of making a form validation script that checks things on both sides - PHP for the server-side and jQuery on the client.

We are going to learn how to validate your forms using PHP and jQuery in both sides: client side (using javascript with jQuery) and server side (using PHP). It will be interesting to see how to use regular expressions to validate different kind of e-mails, passwords and more.

The form they create (a href="http://yensdesign.com/tutorials/validateform/">demo here) is a generic "send a message" form with fields for name, email address, passwords and the message itself. All code - both PHP and Javascript - is provided.

3 comments voice your opinion now!
validate form jquery server client tutorial


blog comments powered by Disqus

Similar Posts

Rob Allen: Globally overriding validation messages for ZF2 forms

NetTuts.com: How to Process Credit Cards with PayPal Payments Pro Using PHP

DevShed: An Introduction to Sockets in PHP (Part 1)

Jurian Suilman's Blog: Use 3rd party modules in Zend Framework 2

PHP-Code.net: Securing PHP Apps Part III Securing PHP on the server/Securing MySQL & Apache


Community Events





Don't see your event here?
Let us know!


tips api deployment opinion podcast list introduction community zendserver framework package series interview symfony update install laravel language release library

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework