Form submission with double opt-in (DOI) e-mail verification #8828
Unanswered
wnzirngibl
asked this question in
Q&A
Replies: 2 comments 3 replies
-
You could hook into the events Statamic provides for submissions (eg SubmissionCreated), and mark the Submission as not validated. Then use the email functionality already there to give a link to a custom route for verification that then marks it as validated. |
Beta Was this translation helpful? Give feedback.
3 replies
-
I have implemented a solution to handle the verification during the form submission, I've thought to create a Statamic Addon. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello community,
we're trying to implement a kind of subscription workflow for anonymous users with Statamic forms.
One necessary feature is the validation of the user's e-mail address by a double opt-in verification mail - so the form must not be submitted before the e-mail address is validated.
So the desired workflow would be:
Being rather new to Statamic I was hoping to find something like that in core or an add-on, but I couldn't find very much.
I found something in the Laravel docs about their user verification process: https://laravel.com/docs/10.x/verification
At the moment, that would be the best guess, trying to implement something along these lines - although we don't really need the form data as users, it's really only about verifying the e-mail address before sending out the form.
If anybody has ideas about how to achieve this with Statamic, help would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions