Display a popup after a success submit from a form

Hi,

I’d like to know if there is a way to display a popup after a successful form submit ?

The template used would be a popup template created with brick (or from a codeblock element in the header template).
I tried with a custom action (echo the template or echo some scripts for exemple) but it’s not working and I’m not sure it’s a proper way to do that.

How I can trigger the popup in my custom action (or trigger an interaction maybe ?).

Thank you

2 Likes

Sad to see that there is no reply to this. @timmse is there a way to do this?

Well Create your PopUp in template. Go to PopUp Settings → Interactions → Trigger Form (Success) → Your Desired Form ID → Action (Show Element). Now you should be good to go :wink: . Oh and do not forget to set Condition to display your PopUp template on page where you have form :slight_smile: Hope it helps.

4 Likes

Absolutely brilliant! Thanks Martin.

1 Like