Spam-less Contact Form With Email Confirmation

I received a number of requests for a public version of my contact form I use on this website. You can view a demo here.

This contact form requires PHP version 5 or higher and uses jQuery and the jQuery UI framework, which are both included with the contact form.


To use the contact form, unzip the package, adjust the settings which are located in contact_form/index.php, upload the folder contact_form to your server, and give it a test run.

You can theme the contact form with jQuery Themeroller. Additionally, you can add (or replace) javascripts (or css) by editing the “INCLUDE_JAVASCRIPTS” constant on line 57 of contact_form/index.php.

The contact form can be used as a standalone webpage or a modal overlay.

Download: Download

  • Chen Yu Jia

    I like the style of this site is really utilize the jquery ui

  • Jason

    Thank you!

  • fabian

    Looks like some really good stuff, but i cant hit the submit button. any suggestions?

  • http://jasonlau.biz Jason Lau

    Can you link me to your form?

  • fabian

    thanks for the fast reply. well i cant hit the submit button at your demo site aswell as on my testing site  [ ... ]  (but that’s just the uploaded contactform folder with a slightly edited index.php). i tested with newest chrome, ff 3.6.17, newst opera, ie 8.
    ie 8 tells me:
    syntaxerrorline: 53glyph: 7Code: 0URI: http://jasonlau.biz/public/examples/contact_form/action was quit because of the error: 80020101.line: 600glyph: 4Code: 0URI: http://jasonlau.biz/javascript/jquery/latest/jquery-latest.js any ideas? are you able to hit the submit button?

  • http://jasonlau.biz Jason Lau

    You need to update to the latest jquery and jquery ui.

    Try this – In your index.php config section @ line 57 replace the “INCLUDE_JAVASCRIPTS” constant with the following -
    define(“INCLUDE_JAVASCRIPTS”, ”

    “);