Hello!
I am having an issue with the contact form not clearing out once you hit send. Because it doesn’t clear, people assume that they didn’t send anything and I end up getting 10 emails from the same person. Is there a way to fix that?
Hey there,
Thanks for writing and pointing this out, we’ll modify this for the upcoming version.
To modify this in order to clear the form when the mail was sent you need to add the following line of code:
jQuery("#nice_contact input[type=text], #nice_contact textarea").val("");
Below this line:
jQuery(".nice-contact-form #success").fadeIn("slow");
on the file includes/scripts.php. (It’s line #140).
Best,
Juan.
Thanks Juan, that worked!
Wonderful, have a nice day 🙂
Juan.