How can i make a form that sends an email with the data inserted and then a link so the user can confirm that he is the real user that filled the form?
I have already created the form and defined the send email on submit button.
i have created a field that generates a random number like a token and then in the email i'm sending this link:
<a href="https://xxx.website.com/formulario/?formulario___token={formulario___token}&formulario___validado=1&formulario___id={formulario___id}">Confirmo a minha subscrição</a>
The generated link it would be:
<a href="https://xxx.website.com/formulario/...378&formulario___validado=1&formulario___id=1">Confirmo a minha subscrição</a>
So i would like that the user receiving this email after clicking in this link it should open the form and searching for the token it should insert the value "1" in the field formulario___validado.
I need to validate if the token exists and edit the record that has this token and insert the "1" in the filed formulario___validado
But i don't know how to do this. How do i do this?
Or... Is there any other way? Is there an option to do this out of the box that i'm missing?
So what i want to do is to validate the data inserted in the form by a link sent to the user.
Thanks
I have already created the form and defined the send email on submit button.
i have created a field that generates a random number like a token and then in the email i'm sending this link:
<a href="https://xxx.website.com/formulario/?formulario___token={formulario___token}&formulario___validado=1&formulario___id={formulario___id}">Confirmo a minha subscrição</a>
The generated link it would be:
<a href="https://xxx.website.com/formulario/...378&formulario___validado=1&formulario___id=1">Confirmo a minha subscrição</a>
So i would like that the user receiving this email after clicking in this link it should open the form and searching for the token it should insert the value "1" in the field formulario___validado.
I need to validate if the token exists and edit the record that has this token and insert the "1" in the filed formulario___validado
But i don't know how to do this. How do i do this?
Or... Is there any other way? Is there an option to do this out of the box that i'm missing?
So what i want to do is to validate the data inserted in the form by a link sent to the user.
Thanks