Highlighted

Server Side Help: HTML Form...submit to E-Mail

New Here ,
Nov 08, 2020

Copy link to clipboard

Copied

hello again...

Have to create 4 or 5 online forms for a website I built for my local area of NA (in DW). I found a basic HTML Form template at w3schools; & used that for my first form:
[dead link removed by moderator.]

So...when users finish & hit the Submit button, the form (& all included info) needs to go to our secretary's e-mail. I've read everything I can get my hands on regarding PHP but for a beginner coder such as myself...informationals on the web never tell you precisely *take this snippet...customize it thusly; & place it here*...even the instructionals on w3schools are vague on this topic (for people such as myself). So...can someone take a look at that form page; & point me in the right direction, at least?

thanx

mark4man

TOPICS
Code, How to

Views

48

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Server Side Help: HTML Form...submit to E-Mail

New Here ,
Nov 08, 2020

Copy link to clipboard

Copied

hello again...

Have to create 4 or 5 online forms for a website I built for my local area of NA (in DW). I found a basic HTML Form template at w3schools; & used that for my first form:
[dead link removed by moderator.]

So...when users finish & hit the Submit button, the form (& all included info) needs to go to our secretary's e-mail. I've read everything I can get my hands on regarding PHP but for a beginner coder such as myself...informationals on the web never tell you precisely *take this snippet...customize it thusly; & place it here*...even the instructionals on w3schools are vague on this topic (for people such as myself). So...can someone take a look at that form page; & point me in the right direction, at least?

thanx

mark4man

TOPICS
Code, How to

Views

49

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Nov 08, 2020 0
Adobe Community Professional ,
Nov 08, 2020

Copy link to clipboard

Copied

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 08, 2020 0
New Here ,
Nov 08, 2020

Copy link to clipboard

Copied

thanx, Ben...but that doesn't seem to help me.  I worked for 2 hours trying to transfer info from MY form into the PHP code; & I'm just wasting my time.  I know this sounds terrible, but I guess I just need someone to write me a PHP handler based on my form; & I'll have to pay them, I suppose.  Don't know what else to do at this point

 

very frustrated

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 08, 2020 0
Adobe Community Professional ,
Nov 09, 2020

Copy link to clipboard

Copied

While simply dragging field types onto a form is easy, setting one up to have server side actions does require coding in Dreamweaver.  Personally speaking in your case, there are some free, or cheap options seeing as how you may potentially be a non-profit business.  I would consider looking into either a free form processor like a typeform ( https://www.typeform.com ) or wufoo ( https://www.wufoo.com ).  Or if you need something more robust with a CRM backend, Hubspot ( https://www.hubspot.com ) may be a better option.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 09, 2020 0
Adobe Community Professional ,
Nov 09, 2020

Copy link to clipboard

Copied

Secure form processing is complicated.  In the wrong hands, an unsecured script can potentially leave your site vulnerable to hacking and exploitation by spam bots. 

 

The mail sending library below is recommended by many hosting providers because it is secure and it doesn't rely on PHP mail() function to send mail.

https://github.com/PHPMailer/PHPMailer

Examples:  https://github.com/PHPMailer/PHPMailer/tree/master/examples

 

If you can't code, I agree with Ben M.  3rd party form services are good for non-coders:  MailChimp, Jotform or Wufoo.com are a few.  Embed the service's code into your web page with copy & paste.  Let them handle the rest.

 

NOTE:  In most regions, it's a legal requirement to have both a Cookie Policy and a Privacy Policy on your site.  See link below.

https://www.cookiebot.com/en/cookie-policy/

 

Good luck!

 

Nancy O'Shea, ACP
Alt-Web.com

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 09, 2020 0