Form.php: Redirect

2 replies · opened Apr 3, 2022

EesofttecApr 3, 2022

We want to redirect to contact page after successful send the email.

EesofttecApr 3, 2022

Although I want to display the successful message on the same page in alert div. How is it possilble?

SSemicolon WebSTAFFApr 4, 2022

Hello,

You can simply add the data-redirect="https://your-website.com/thank-you.html" Attribute to the .form-widget Element to redirect the Page after Successful Form Submission. Example:
[ch_pre]<div class="form-widget" data-redirect="https://your-website.com/thank-you.html">[/ch_pre]

This will display the Success Alert first and then redirect the Page. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard
Form.php: Redirect · Canvas Template Support