contact form not clearing out
This support request was posted in BBQ by kossorihagen88
- kossorihagen88 May 24, 2013 at 3:13 pm
Hello!
I want the contact form to be reset once the user hade sumbit, but it doesnt. I read other post here to fix this problem with following –
“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). ”But that line whas already in my file. Can you please help me?
Also I want to get the “Thank you for leaving a message” apear under the sumbit-buttom. I have moved the line in the php-file but i doenst work… π Im doing something wrong!
Thanks!
Juanfra Aldasoro May 24, 2013 at 3:20 pmHello,
The form isn’t cleaning up because it seems that your server is having trouble when sending the email.
Do you know if your server has SMTP?
To have the contact form working you should check the following:
A) Settings SMTP and smtp_port need to be set in your php.ini
B) Also, either set the sendmail_from setting in php.ini, or pass it as an additional header.These are server configuration issues, so maybe you can check this by contacting your hosting support.
Thank you,
Juan.kossorihagen88 May 24, 2013 at 3:53 pmOk.. I dont really understand. The hosting support gave my this: http://one-docs.com/specs/
They asked for server requirements list for the plugin. Where can I find that?kossorihagen88 May 24, 2013 at 4:14 pmMy hosting support says that the options regarding A) Settings SMTP and smtp_port need to be set in your php.ini B) Also, either set the sendmail_from setting in php.ini, or pass it as an additional header. are right.
I dont know that to do or what the problem is.. I changed the mail to my private, and when I test the contact-form I recived a mail. But the contact-form was not reset..
kossorihagen88 May 24, 2013 at 4:32 pmNevermind, I solved it by used a plugin! Thanks anyway for your time!
Juanfra Aldasoro May 24, 2013 at 4:42 pmHi,
Great to hear that π What plugin is that you’re using?
Thanks,
Juan.
You must be logged in to reply to this topic.