Contact form : How to change sender's email in include/form.php

10 replies · opened Sep 17, 2019

Ffrederic80Sep 17, 2019

Hello,

How can I change $fromemail (no-reply@...) in include/form.php to the email of sender?
So my customer just have to hit the reply button in his mail program to send an email back and to answer the question.

Thanks in advance for your reply.

SSemicolon WebSTAFFSep 17, 2019

Hello,

This is Definitely Possible and is already setup within the Form. Simply make sure that you add the following code inside the <form> Tags:

and the template-contactform-email Value matches the Form Input's name Attribute which takes the User Email input. Everything else works automatically. For more setup instructions, please check the Documentation > Forms Section.

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Ffrederic80Sep 18, 2019

Hello,
Thanks for your reply.
It doesn't work for me, maybe because I'm working with quick contact form?


                    

                    

                    

                    

                    

                    
                    

                    Versturen

                  

What can I do?

SSemicolon WebSTAFFSep 19, 2019

Hello,

The code for your Form will be:

This will definitely work fine. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Ffrederic80Sep 19, 2019

No, that doesn't work. When I hit the submit button, the hourglass keeps turning (see image attached).
Do I have to change something to the form.php file (see attached for original file)?

When I delete the code
``
Line 39 is the mail address that he recognizes as a reply-to.

Thanks for your reply.

SSemicolon WebSTAFFSep 19, 2019

Hello,

Please provide us with a Live URL so that we can check out the exact issue and provide you with more assistance on this. Thanks for your Patience.

Meanwhile, do let us know if we can help you with anything else or if you find any further issues with Canvas.

Ffrederic80Feb 10, 2020

Hello,

I have again a problem with the same issue with two other canvas websites.
"How can I change $fromemail (no-reply@…) in include/form.php to the email of sender?
So my customer just have to hit the reply button in his mail program to send an email back and to answer the question."

Link to test site.

Thanks for your reply.

Ffrederic80Feb 11, 2020

Hello,

I have again a problem with the same issue with two other canvas websites.
“How can I change $fromemail (no-reply@…) in include/form.php to the email of sender?
So my customer just have to hit the reply button in his mail program to send an email back and to answer the question.”

Thanks in advance

SSemicolon WebSTAFFFeb 11, 2020

Hello,

Find the following code in your HTML Page:

and replace it with:

We have just checked this out and this works perfectly fine.

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Ffrederic80Feb 11, 2020

This works!
Thanks a lot!

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard