Hi!
I'm trying to do an e-mail verification in my form. I've got 3 additional posistions in database uid, check_uid and verified. I also added verify event . In custom code I create an unique id and assign it to uid. In e-mail to user I send a link:
<a href='http://mysite.com/index.php?option=com_chronoforms5&chronoform=form_name&event=verify&check_uid={uid}' >Click to verify</a>
Then in a verify event I want to assign check_uid to proper record, but CF creates a new one with only this field filled.
I have DB Read and DB Save in on found event inside. I suppose that I have to add some update conditions in DB Save, but no idea what code should it be.
How to repair it?
Thank you in advance, and sorry for my English,
Mieszko
I'm trying to do an e-mail verification in my form. I've got 3 additional posistions in database uid, check_uid and verified. I also added verify event . In custom code I create an unique id and assign it to uid. In e-mail to user I send a link:
<a href='http://mysite.com/index.php?option=com_chronoforms5&chronoform=form_name&event=verify&check_uid={uid}' >Click to verify</a>
Then in a verify event I want to assign check_uid to proper record, but CF creates a new one with only this field filled.
I have DB Read and DB Save in on found event inside. I suppose that I have to add some update conditions in DB Save, but no idea what code should it be.
How to repair it?
Thank you in advance, and sorry for my English,
Mieszko