Forums

Use a number in the email to the sender

Ilse Raeymackers 12 Sep, 2017
I have to make a form so that people can sign up for an event. In the mail to confirm the inscription and to ask to pay, I want to add the text of the confirmation but also a number that can be used to recognize the payment in the accounting. Every sign up had an ID but I do not know how to use that in my database. For the name, in the database I see that there is db.name:name. And I can use that field name in my form. I tried with db.id:id but that does not work.
GreyHead 13 Sep, 2017
Hi Ilse,

If you are using ChronoForms v5 (and not v6) then I have a Unique ID [GH] action that you can use to generate short unique string to identify transactions like this. I will PM you a link to download the action.

You can also use the record ID - but that is not secure; or the long UID string added to the database record.

Bob
Ilse Raeymackers 13 Sep, 2017
Is it better to update to v6 to make that form?

Ilse
GreyHead 13 Sep, 2017
Hi Ilse,

Either is fine but my custom action only exists for CFv5.

Bob
Ilse Raeymackers 13 Sep, 2017
Thanks for the download. But I only can make simple forms. I can not work with php.

So I think I will try to use the record ID.
GreyHead 15 Sep, 2017
Hi Ilse,

You don't need any PHP - but if the Record ID works for you that is OK.

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