Hello,
I have an email send out to users that fill out the form. I would like to add a random unique number in the email, like an unique invoice number. Could you please advice how to do so?
Thank you and regards
I have an email send out to users that fill out the form. I would like to add a random unique number in the email, like an unique invoice number. Could you please advice how to do so?
Thank you and regards
Hi Chronowes,
You can generate a random string with PHP - check StackOverFlow for many solutions.
if you need it to be unique rather that 'probably unique' then you need to save your form data in a database table including the unique number so that you can check for matches in previous records. I have an CF action that will generate an id and check the table - Please PM me if you want to try it.
Bob
You can generate a random string with PHP - check StackOverFlow for many solutions.
if you need it to be unique rather that 'probably unique' then you need to save your form data in a database table including the unique number so that you can check for matches in previous records. I have an CF action that will generate an id and check the table - Please PM me if you want to try it.
Bob
This topic is locked and no more replies can be posted.
