Quantcast
Channel: JoePettersson.com » PHP
Viewing all articles
Browse latest Browse all 3

An accessible and validated PHP/jQuery contact form

$
0
0

This is a really accessible and well validated contact form powered by PHP and jQuery. The design is based on Orman Clark’sClean and Simple Signup Form‘.

Using both serverside PHP and client-side input validation (powered by Jorn Zaefferer’s great jQuery Validation Plugin) this form is developed using ARIA accessibility standards, making it one of the most accessible and reliable contact forms available.

Usage

In order to get the form working, all you need to do is open up index.php in your favourite text editor and replace the pre-configured sample email address with your own. That’s it. It’s as simple as that.

As you’ll notice, both jQuery and the validate plugin are served via CDN (Google and Microsoft respectively) so all you need is the core PHP script and the dependent presentational files (images and CSS).

The form has been tested in all major browsers and works great, but as there are a couple of very minor CSS3 presentational things it might not look quite as great in non-compliant browsers (I’m looking at you <IE8) but even then I doubt users will really notice.

See the demo or download the contact form.

License

As with all my freebies, this is distributed under the Creative Commons Attribution 3.0 Unported License.


Viewing all articles
Browse latest Browse all 3

Latest Images

Trending Articles





Latest Images