Skip to main content
Participant
May 7, 2020
Question

Directing to a Thank You page after Submitting a Form

  • May 7, 2020
  • 2 replies
  • 992 views

My question is: How do I set up a Form so that the user sees a Thank You page after hitting the Submit Button, THEN having the Form emailed to me at the same time. What "action" needs to take place in the Form tag and Button tag? Thank you guys.

    This topic has been closed for replies.

    2 replies

    Nancy OShea
    Community Expert
    Community Expert
    May 7, 2020

    What you don't know about forms and how insecure ones can leave your server vulnerable to attacks could fill a book shelf.  I won't sugar coat this.  Forms and form processing scripts are not for hobbyists to "mess around with" anymore.   Either use a secure form/processing script recommended by your hosting provider like PHPMailer or use 3rd party services like JotForums, Wufoo.com or Mailchimp. 

     

    Mailto is strictly for suckers.  It's not reliable.  And it puts your e-mail address and server at risk.  Don't use it.

     

    Nancy O'Shea— Product User & Community Expert
    agc533Author
    Participant
    May 8, 2020

    Thank you for that advice, I will definitely look into finding a secure form/processing script. 

    BenPleysier
    Community Expert
    Community Expert
    May 7, 2020

    You need to create an action script to do this. The script depends on the server that you have. If this is PHP see https://www.w3schools.com/php/php_form_complete.asp

    Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
    agc533Author
    Participant
    May 7, 2020

    Thanks because what is happening is I do see the Thank You page after hitting the submit button, however, the form does not go to my email address. I used the mailto: action for the Form tag.

    Legend
    May 7, 2020

    You cant use 'mailto:' to send form information. You need a form processing script. From what I remember of mailto: it's some old rubbish that you might have used in 1994 on a link tag.