Contact form

Issues related to forms.
Post Reply
User avatar
Biju
 
 
Posts: 119
Joined: Thu Mar 10, 2016 7:02 pm
Location: Kerala, INDIA.

Contact form

Post 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...
~ Remain Curious
and Keep Learning ~

_________________
visit my site
User avatar
Pablo
 
Posts: 21712
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Contact form

Post 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)
User avatar
Biju
 
 
Posts: 119
Joined: Thu Mar 10, 2016 7:02 pm
Location: Kerala, INDIA.

Re: Contact form

Post by Biju »

Should I set 'From name' as $name?
~ Remain Curious
and Keep Learning ~

_________________
visit my site
User avatar
Pablo
 
Posts: 21712
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Contact form

Post by Pablo »

No, that will not work.
User avatar
rogerl
 
 
Posts: 197
Joined: Tue May 03, 2016 8:24 am

Re: Contact form

Post 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.
User avatar
Biju
 
 
Posts: 119
Joined: Thu Mar 10, 2016 7:02 pm
Location: Kerala, INDIA.

Re: Contact form

Post by Biju »

Pablo wrote: Tue Oct 05, 2021 8:05 pm No, that will not work.
Then what I have to do Pablo?
~ Remain Curious
and Keep Learning ~

_________________
visit my site
User avatar
Pablo
 
Posts: 21712
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Contact form

Post 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.
User avatar
Biju
 
 
Posts: 119
Joined: Thu Mar 10, 2016 7:02 pm
Location: Kerala, INDIA.

Re: Contact form

Post by Biju »

Thanks Pablo..
~ Remain Curious
and Keep Learning ~

_________________
visit my site
Post Reply