Validate Submission by an Email Link

Grizzled 08 Jan, 2018
Good morning,

We would like to validate a form by having the user click on a link in an email. We want to them to acknowledge that they actually filled the form out.

1. User fills the form out and submits
2. User receives an email with link that verifies it was them
4. When the user clicks on the email link, the form is verified and officially submitted.

Is this possible with Chronoforms6?

Thank you🙂

Thanks, Chuck
GreyHead 09 Jan, 2018
Hi Chuck,

Yes you can do that - save the form data to a database table and include a random string as a record identifier. Create a new 'verify' event in your form and have that check the database for a matching verify string then update the table accordingly.

The link in your email will be something like http://my_domain.com/index.php?option=com_chronoforms6&chronoform=form_name&event=verify&uid=xxx999xxx

Bob.
Grizzled 09 Jan, 2018
Hi Bob,

This great news!

Are some directions somewhere with a little more detail? I am not familiar with using random strings and identifying them.

Thanks, Chuck
GreyHead 15 Jan, 2018
Hi Chuck,

You can use the very long string that ChronoForms adds to the database table, or you can use a Custom Code action before the DB Save to generate you own string - see this StackOverFlow answer for one way to do that.

Bob
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger