Redirect contact form to visual cms page

Hi community member!

I have created a page through visual cms and in that page, i have a contact form.

After submitting the contact form, it goes to the default contact form page with a thankyou note.

How can i redirect it back to the same visual cms it was submitted from with a thankyou note?

Any ideas would be much appreciated. Thanks!

Hi there :vulcan_salute:,

if you are profound in JavaScript, I would try to catch the submit click event and make an AJAX call to the contact form controller. That way the user stays on that page and you can update the contents of the page according to the feedback you get from the AJAX call to the controller.
It might me necessary to somehow indicate to the customer, that something is happening :wink:

Hope I could help

/Flo

1 Like

That seems like a good idea too. I’ll try this and mark it as a solution. :slightly_smiling_face:

1 Like