Form to Email Success actions

https://community.wappler.io/t/sending-form-data-to-email/

  1. In the docs where it is noted that you can select the reset action on success, I have my buttons’
    available actions listed as Button > set value; disable; validate; focus. The buttons are not listed as Submit or Reset.

  2. How do you add on submit redirect to success page without coding something like

INPUT TYPE=“hidden” NAME=“redirect” VALUE=“http://thesite.com/thankyou-for submission-page.html”

after the submit button?

Thank you!

In App structure add ‘Browser’
On the form - Dynamic Events add on success (Browser - Go To) then add the “http://thesite.com/thankyou

So once your form is successful it will goto the page, if there if an error or a failure of the form it won’t

1 Like

Thanks!!

1 Like

Just to clarify - you should not use the events of the buttons. You always use the dynamic events of the form itself, as it's the form that you need to check for success/error.

2 Likes