Trigger overlay after e-mail submit

I am looking for a way to show an overlay with instructions like “Now check your inbox to finish your registration” after the e-mail is submitted in a form on my Ghost page. I can’t find a way to trigger it only after the email address is submitted successfully. Any help?

It depends on what the form is. In a pinch, you could look at using a mutation observer.

Here’s how I did it with Source.

1 Like

This helped, thank you very much! I only get it working when entered through code injection. Putting into default.hbs strangely doesn’t work.

1 Like