Page 1 of 1

Contact form

Posted: Tue Oct 05, 2021 5:44 pm
by Biju
I have created a contact form with block and hosted with GoDaddy server. The form is working fine and receiving the form data as shown in the image below.
Image

Can anybody clarify the following:
Why it shows sender email (see point #1) instead of sender name?
and why it shows that text right side to email (see point #2)

Please help...

Re: Contact form

Posted: Tue Oct 05, 2021 5:50 pm
by Pablo
1) You can set the 'From name' in the properties of the form.
2) This is not added by Web Builder. But it may have been added by the server (which send the email)

Re: Contact form

Posted: Tue Oct 05, 2021 6:21 pm
by Biju
Should I set 'From name' as $name?

Re: Contact form

Posted: Tue Oct 05, 2021 8:05 pm
by Pablo
No, that will not work.

Re: Contact form

Posted: Tue Oct 05, 2021 9:10 pm
by rogerl
Which mail Engine are you using. I've always found php mailer the best. ("Advanced", "Mail Engine")
Have you filled in the form data under "More" by "E-mail address" and given yourself a meaningful message under "Message" so the email makes sense when you receive it.

Re: Contact form

Posted: Wed Oct 06, 2021 6:46 pm
by Biju
Pablo wrote: Tue Oct 05, 2021 8:05 pm No, that will not work.
Then what I have to do Pablo?

Re: Contact form

Posted: Wed Oct 06, 2021 8:06 pm
by Pablo
If you want you use the one of the input fields as 'from' address then you can use, something like this:

Code: Select all

$_POST['name']
Note that this is also documented in the help.

Re: Contact form

Posted: Thu Oct 07, 2021 5:02 pm
by Biju
Thanks Pablo..