We've retired the forum in favor of GitHub Discussions.

New conversations can be started on GitHub. Existing conversations will remain for a while longer.

Head over to GitHub →

Form.submission.creating event in v3?

Lukasz Rados July 8, 2020 by Lukasz Rados

Hello, I am working on a "Subscribe to a newsletter" form in Statamic v3 and once users submit their emails I would love to do some additional processing:

  1. Check if they are not already in our DB;
  2. Send them an email with a confirmation.

Back in v2 my approach was:

  1. Create an Event Listener addon;
  2. Listen for Form.submission.creating event.
  3. Voila.

What is the suggested approach in v3? I found some info about events in documentation, but I'm not sure what event I should be listening for.

Thanks in advance for any help.

Answered by Duncan McClean!
>>>>>>> Answered <<<<<<<
3 Replies