ferrowtechsays
Many thanks! You’ve helped me to solve my biggest problem!!!
Great script, well done!!
Regards Bob
ferrowtechsays
Many thanks! You’ve helped me to solve my biggest problem!!!
Great script, well done!!
Regards Bob
NineSixBingsays
i keep getting “You forgot to enter the message.” am i missing something?
NineSixBingsays
your form ROCKS !! thank you for making this available! thought i had a problem, but it was a jQuery conflict. All is well.
WebStormUKsays
Is there any chance of adding check boxes and drop down menus??
@webstormuk
Please see our blog post for how to add / validate checkboxes on the AJAX Contact Form.
Jigowatt
WebStormUKsays
Hi, forget the end part of the last message, was just wondering about check boxes?
Also if a text field or any other element for that matter is NOT required how do you enter this in the php field?
Thanks.
SilverFireflysays
I think this script fits the bill nicely for my portfolio. However there’s just one thing that is missing in my opinion and that’s a link or a redirect back to the previous page on the success page. Presently I have to click the back button which isn’t very professional in my opinion.
@SilverFirefly
I’m not sure why you’d need a back button? The main feature of this script is that there is no page to go back to? This form submits and animates all within one page without any reloads.
In any case, you’d add a back button like this..
echo '<a href="#" onClick="history.go(-1)">Go back to previous page.</a>';
near the end of contact.php
Jigowatt
@SilverFirefly
This would suggest that you’ve uploaded the Javascript files to the wrong location on your server or if you weren’t calling them properly from your website header.
Please check all the files are loading correctly and that you haven’t modified the form in anyway from the package whilst testing.
Failing that, perhaps a jQuery conflict.
Jigowatt
NineSixBingsays
Hey J -
Hinewwiner recently wrote:
part and my site layout is working and the contact form is working but, if you send e-mail by cllicking Submit, a new page opens up but still works. I think jquery does not working here.
I’m having the same trouble. Do you know if either he or someone else has found a solution to this?
The form works in everything but IE, so I’m little perplexed.
Thanks
NSB
my site is here: http://seancbuilders.com/dev.php?page_id=12
coltgraphxsays
Great script! I am however having problems passing checkbox values from my form over to the php so as to receive the results in my email. I have a group of checkboxes that have the same name – “services[]”. Any suggestions? Thanks!
Admittedly we’ve had a few people with Checkbox issues however they have resolved the issues themselves, we’re going to test it out for ourselves.
Whatever we find out (code additions etc..) we’ll write a quick ‘How To’ blog post…. rest assured it’s on our to do lists however we’re super busy at the moment so bare with us!
Jigowatt
NineSixBingsays
j- i’m getting this on my server? your thoughts?
Notice: Undefined variable: error in /var/www/vhosts/site.com/httpdocs/wp-content/themes/newtheme/form/contact.php on line 43
thanks for the great form. i’ll get it dialed in…
td
@ninesixbing
Looking at that path your trying to integrate this with Wordpress..
Replace
jQuery(document).ready(function(){
with
jQuery(document).ready(function($){
in jquery.jigowatt.js.
then also replace..
$verify = $_POST['verify'];with
$verify = $_POST['verify']; $error = '';
in contact.php line 10. Hope this solves the issue for you 
Jigowatt
NineSixBingsays
thanks.
$verify = $_POST['verify'];
with
$verify = $_POST['verify'];
$error = '';
in contact.php line 10
did the trick. thanks.
bosegasays
Hi! Why not send a letter. When you click on button “Send” a load to send, but nothing happens.
seighmansays
The text of the message appears in the header and not in the body of the email, can this be changed?
elmalaksays
Hi, We’ve just purchased your ajax form and the test file works just fine, however, when I tried to make it work with my form on my page, it’s driving me crazy.
I hope you don’t mind looking here and tell me what’s wrong. http://www.projectleadership.net/windows7/
the contact.php was not working on my server so I moved it to an external server, now it works but the Ajax doesn’t’.
Hope this makes sense to you.
Highly appreciated.
elmalak
Bakalingesays
Hello,
For some reason, checkboxes are not working with the script. I included
<label><span class="required"> </span> Aller retour</label>
<input name="allerretour" type="checkbox" id="allerretour" value="my value" style="width: 20px;"/>
in the form, then :
allerretour: $('#allerretour').val(),
in the jquery.jigowatt.js and also :
$allerretour = $_POST['allerretour'];
in contact.php.
Whatever the checkbox is checked or unchecked, I always get the same value in the mail…
Any suggestion ?
Thanks !
LAurent
ianyatessays
Fantastic – I’ve managed to alter the (very clear) functionality to accept a ColdFusion mail script and Jörn Zaefferer’s jQuery validation (just so it plugs in nicely with an existing project).
Many thanks!
Bakalingesays
Hello,
chexboxname: $('#checkboxname').val(),
doesn’t work with chexboxes…
Any suggestion ?
@bakalinge
Please see our blog post for how to add / validate checkboxes on the AJAX Contact Form.
Jigowatt
Bakalingesays
chexboxname: $('#checkboxname').is(':checked')
doesn’t work either…
Is there any support for this script ?
@bakalinge
Please see our blog post for how to add / validate checkboxes on the AJAX Contact Form.
Jigowatt
Aerendylsays
Hello. Great script. 
So i have a problem. I copy the html code into existing html page (custom css), put the contact.php file into the same folder, and also put the js folder and assest folder.
It looks very nice, but when i press the submit button nothing happens. What is the problem?
SacredScorpionsays
Hello, Great Contact form.
I am having a problem as well. I copied the contact form code into my existing contact.php file. I uploaded the js folder, contact.php, and assets folder into the same directory.
When I try and use the form, it gives me an error saying “You must enter your name” even though I enter a name in the text field.
SacredScorpionsays
Yes, I tried using “as is” and it works. When I copy the code into my existing php file it does not work. I am copying the form code from the index.html to an existing file named contact.php. Is there anything else I need to add to the existing page since it is a .php file?
@SacredScorpion
By renaming your contact page or the handler file your issue should be fixed, you’ll also need to change where for form posts to, for example…
<form method="post" action="your-renamed-handler-file.php" name="contactform" id="contactform">or place the forms handler file in a higher directory… ‘form’ for example..
<form method="post" action="form/contact.php" name="contactform" id="contactform">
Jigowatt
okay I fixed it. The problem was that I had a div ID of “name” which I guess was messing up the form ID of “name”. Thank you so much for this script. It was simple to set up and it works great.
Sorry, I’m new to this website. Could you tell me how to rate products?
@SacredScorpion
Great to hear you got your problem solved 
To rate items on CodeCanyon you need to go to your ‘Downloads’ page.. this link should work for you.. Downloads Page
Jigowatt
lemonwedgesays
Everything seems to work but when the “Email Sent Successfully” message appears I get just above (without the …..):
Notice: Array to string conversion in ......contact.php on line 29
Notice: Undefined variable: error in ......contact.php on line 43
Any ideas? Have I missed somthing?
Line 29 = if(trim($subject) '') {
Line 43 = if($error ’’) {
mlaportesays
is it possible to add a file upload field?? if not, do you know of a form that does? I need a form that I can customize the size, and look, that also has a file up load component (via email).
@mlaporte
That is possible on pretty much any dynamic contact form, including ours. The upload part is just an input field, the behind the scenes work is the modifications you’d have to make to the handler file to process the file however you need it.
By combining a simple upload script and our AJAX Contact Form or the extended version you could pretty easily achieve what you’re after with very little effort / coding 
Jigowatt
runeskisays
Hello. Not sure if this was addressed earlier, but the readme says that there should be a corners.js file but the zip file I downloaded did not include it. Is there a reason why? Thanks. By the way, great work.
runeskisays
...just looked into CSS3 and discovered the border-radius feature, so disregard my previous post. My browser (Firefox), for some reason, is just not supporting it at the moment. Thanks though. I’ll figure something out.
lemonwedgesays
Currently on windows server, I will change to Linux one and see if it makes a difference
@lemonwegde
I would think switching would solve your issue, with Windows, PHP works slightly differently however it’s not something I’ve worked with enough to properly help you.
Before switching let’s try and fix the issue, I’m sure it’s nothing major.
Line 10, contact.php
Change..$verify = $_POST['verify'];to..
$verify = $_POST['verify']; $error = '';
Jigowatt
robhavsays
Just a couple of things…
1. The email sends successfully from this form, but ends up in my junkmail? 2. The subject dropdown isn’t passing the value correctly – my email is saying ‘with regards to Array’, rather than the value of the dropdown
@robhav
1. Are you sending it from and to yourself?
Many spam filters remove e-mails addressed from the e-mail address they are to, this is an often used spamming trick. Make the messages ‘Not Junk’ and they will then be allowed through to your mailbox. Unfortunately there’s not a lot else we can do on that note, your Junk filter is part of your e-mail client and will just need tweaking.
2. The Array issue isn’t one we’ve come across with the Select dropdown, we’ve had a similar issue with checkboxes which is solved in the Extended version, this fix is due to be included in the next AJAX Contact Form free update.
Jigowatt
lemonwedgesays
Changed to Linux server and all is working perfect. I should think it was the server I was using.
Great script 5* recommendation.
greencodesays
Is there any way to have a random Anti-Spam question? As opposed to the same question all of the time.
@greencode
In bold at the top of the scripts description .. “Need Captcha Verification / Twitter Notification / Multiple Error Messages? Check out our New AJAX Contact Form; Extended”
The Extended version comes with a rewritten handler and includes a simple image Captcha for verification and Twitter notification for those on the move. An alternative would be to add ReCaptcha to the AJAX Contact Form you have, to do this have a look on the ReCaptcha website for installation instructions.
Jigowatt
xevioussays
Loving the Ajax contact form.
One small problem…
I’m getting the same issue as robhav.
the form sends successfully and outputs correctly in Firefox, Safari, opera and chrome.
But when I use the form in IE 8 I get the “array” message for the drop down field. Wierd one?
Thanks for the amazing script.
@xevious
In true Microsoft fashion, it looks to be just an IE8 issue with how it’s handling the field from within jQuery.
To fix the issue, in your form HTML change<select name="subject" type="text" id="subject"> </select>to..
<select name="subject" id="subject"> </select>
We’ll also make this amendment in the next AJAX Contact Form update 
Jigowatt
180comments