Until now I used chronoforms 5, with the Unique ID [GH] . But it does not working anymore.
For this reason I installed on my localhost chronoforms 6 and created step by step the form with regex and other things without problems. It's a great component.
But I have no idea how to verify (confirm) the email-address.
Do you have a solution for me?
Best regards
Ingrid
Hi Ingrid,
If you want to confirm the email using a second input then you can use the Matches box on the Validation tab of one of the elements.
If you want to confirm the email by sending a link to be clicked then I would save the record with an 'unconfirmed' status and a column with a unique random string; then send an email with a confirmation url including the string. Lastly use a separate form or form event in the link url to capture the response, check it is valid and update the record status.
Bob
Hi GreyHead,
thank you for your reply. Can you give me a step by step instruction? I have no clue, how can I do that.
Ingrid
Hi Ingrid,
What exactly are you trying to do?
Bob
Hi GreyHead,
sending an email back to the sender, to confirm the e-mail adress. After confirming the email will be sent to me.
Ingrid
Hi Ingrid,
+ Add two columns to your database table called say 'status' and 'link_id'
+ In the on submit event set the value of 'status' to 'unconfirmed' and of 'link_id' to a unique string (check the manual for both of these)
+ Add a new form event called 'confirm'
+ In the email add a confirmation link including ...&event=confirm&link_id={data:link_id}
+ In the new form event add a Read Data action to check if the link_id is valid. If it is set the 'status' to confirmed with a Save Data
Bob
Hi Greyhead,
have you got the PM?
Ingrid
Hello Greyhead,
I tried to follow your instruction but I think I don't understand it well.
In the manual I found some explanations, but I cannot implement it.
Can you please have a look on mitgliedsantrag-2? Have done some things, but it does not work.
Regards
Ingrid
Hi Ingrid,
I took a quick look and saw that in the Custom Code to create the link in the email there is no domain name - it needs to be a full URL to be clickable.
Also in the On verify event you have Custom code that is updating the database table without any previous check to see if there is a matching record.
This will work with the cf_id as the value as you have it; but it would be more secure if you used a random string as the verifier code (as Joomla does). You coudl do this in addition to the cf_id and then check that the two values match up.
Bob
Hi GreyHead,
I dont't get it work, it's enough to drive one to despair.
So I don't get. GreyHead.
Please, can you do it for me?
I will buy you al lot of coffee.
The security image shows an error: You didn't select the correct image.
The result in debugmode shows no email address to verify
Please, please help
Thank you in advance
Ingrid
Hello Ingrid. is this working ?...
i am looking also for email verify.. of you have it working.. can you sent me a copy of the form?..
https://skyspider.com.au/store
Hello!
I need this, too. For CF v5.
Can someone prepare template?
Thanks ahead.