This topic has 15 replies, 3 voices, and was last updated 8 years ago ago by Eva Kemp
Hello good afternoon,
I am having problems in my Contact Form, when sending, the same it is not deleting the fields “E-mail” and “Telephone” only the fields “Name and Surname” and “Message”.
Note: I changed the “E-mail” field in type of text for email, and in the other field that was “Website” I changed to “Phone”.
What could be causing this problem?
Best Regards
Rodrigo Macedo
Hello good afternoon,
Did you understand me?
I’m waiting
Hello,
Have you changed login credentials?
We can’t log in with the previous ones.
Best regards,
Jack Richardson.
Hello good day,
We do not exchange login credentials, but in any case follow them again in private content.
Best regards
Rodrigo Macedo
Hello,
I’ve edited your functions.php file and changed input type="tel"
and input type="email"
to input type="text"
.
Please check contact form now.
Best regards,
Jack Richardson.
Hello good afternoon,
Can not keep input type="tel"
and input type="email"
?
Because that way it helps the mobile devices when filling out the form, so I did it.
Best regards
Rodrigo Macedo
Hello,
If you want to keep them you need edit the file etheme.js in js folder and add input[type=email], input[type=tel]
in line 2014, so it will be:
eForm.find("input[type=text], textarea, input[type=email], input[type=tel]").val("");
Best regards,
Jack Richardson.
Hello good day,
How do I make this change in the etheme.js file for the child theme?
I made the change as you reported however he should not have recognized the js folder.
I did as follows, I created the js folder and put the etheme.js file inside in the child theme but I think I should have to call it in the child theme’s functions.php, how should I do it?
Best regards,
Rodrigo Macedo
Hello,
You need add the code in your child theme functions.php file:
add_action( 'wp_enqueue_scripts', 'etheme' );
function etheme() {
wp_enqueue_script( 'etheme', get_stylesheet_directory_uri() . '/js/etheme.js' );
}
Create “js” folder in child theme and copy etheme.js file with needed changes in the child theme “js” directory so you won’t lose modifications after theme update.
Regards,
Eva Kemp.
Perfect,
Now it works, I just need one more help, I do not know if you can help me, the email I receive from the form is configured “Reply-To: $email” I would like it to come with the client name in Reply-To as well.
Ex.: “Reply-To: $name <$email>”, however this is not working, the form’s Email comes only with the client’s email.
This also happens in “From $email”, I tried to do this:
“From Adornar Decorações Festas <$email>”, but without success.
Best regards
Rodrigo Macedo
Hello,
Sorry but this requires additional customization and code rewriting in the file. You can order customization service here https://www.8theme.com/customization-services/ .
Regards,
Eva Kemp.
Hello good afternoon,
So, but the code is done in the functions.php file of the child theme, the same was in the parent theme, I copied it to the child theme to change the Subject and other parts as the body of the Email, however only this part is not obeying .
Can not you help me? It would help me a lot if you could help me with that.
Best regards
Rodrigo Macedo
Hello,
Please send you request here https://www.8theme.com/customization-services/ as it requires extra customization which is out of our basic support scope.
Best regards,
Jack Richardson.
Hello good afternoon,
Well at least the form problem has been fixed, this really is just a matter of further customization, consider the problem solved.
I would like to take advantage and ask you to have a look at the topic that is open in WooPress HTML5 please.
Thanks for listening.
Best regards,
Rodrigo Macedo
Hello,
We’re glad to hear you found a solution for the form issue.
As for your topic in HTML template thread you’ll be replied there as soon as possible.
Regards,
Eva Kemp.
Tagged: contact form, help, problems, solutions, troubleshooting, woocommerce, wordpress
The issue related to '‘Problems with the Contact Form’' has been successfully resolved, and the topic is now closed for further responses