WP-LightForm, the prettiest WordPress contact form.
Description
WP-LightForm is an AJAX / PHP contact form with spam protection, form validation and custom form elements.
This plugin is based on LightForm by Jeeremie, and utilises FormCheck for form validation and Niceforms for custom form elements. To get a feel for what WP-LightForm is really about, click the screenshot below and try the interactive demo.
Installation
- Download the latest copy of WP-LightForm and extract the archive.
- Open send.php with a text editor and enter the email address you would like to use as the recipient of the contact form in the $to parameter.
- Upload the wp-lightform directory to your WordPress installation’s wp-content/plugins/ directory.
- Go to the Plugins page in your WordPress Administration area and click ‘Activate’ for WP-LightForm.
- Enter the shortcode [LightForm] in the WordPress post/page you would like to display the contact form.
Frequently Asked Questions
How can I modify the layout of the contact form?
At the core of WP-LightForm is a XHTML Form element, to add or modify elements you can change the $formoutput string in wp-lightform.php as you would a normal XHTML document. To modify the css styles to better suit your site you will need to change css/lightform.css.
What browsers do you support?
Testing has been done in Firefox 2 along with Internet Explorer 6 & 7. Theoretically it should work on any javascript enabled browser, if not let me know by leaving a comment.
Does WP-LightForm only work on WordPress 2.5.1 and later?
Good question, my testing concludes that it definitely does work in version 2.5.1. Anything above and below that is untested, so if you decide to give this plugin a try on any other version please let me know how it went by leaving a comment.
Download
Download WP-LightForm (version 0.4, 17 June 2008)
If you enjoyed this plugin and want to contribute to the development, then do so by helping me maintain adequate levels of caffeine in my bloodstream.
Changelog
Version 0.4
- Formcheck image pre-loading disabled in Internet Explorer as images were appearing at the top of the screen
Version 0.3
- AJAX message sending now works successfully with Internet Explorer 6 & 7
- utf-8 encoding of the email to support international characters
- Recipient email address is now to be added directly to send.php for security reasons
- CSS modified to hide the scrollbar in the textarea for Internet Explorer 6 & 7
- CSS styled form elements to avoid conflicts with theme defaults
- Fixed pre-loading of formcheck images in everything but Internet Explorer 6
- Fixed message textarea appearing above message label in Internet Explorer 6 & 7
- New Success / Fail images courtesy of ~dimpoart
Version 0.2
- Niceforms upgraded from 0.9 to 1.0
- FormCheck upgraded from 1.2 to 1.3
- PNG Crushed FormCheck images down from 283kb to 8.7kb
Now XHTML 1.0 transitional.
Version 0.1
- Initial release
82 Comments


(6 votes, average: 4.33 out of 5)

























Top Commenters