Before i started using Chrono Forms i was forced to use a separate php file from Joomla because of this very reason. And would like to know if and how its possible to create and record (as well as email) a unique id.
For the php form i have used this code:
$uniqueId = substr(md5(uniqid(rand(), true)), 0, 8);
But, where would i enter it into and how can it be recorded so that its listed in the table and email? Or is there a better way of creating a unique id number?
For the php form i have used this code:
$uniqueId = substr(md5(uniqid(rand(), true)), 0, 8);
But, where would i enter it into and how can it be recorded so that its listed in the table and email? Or is there a better way of creating a unique id number?
Hi,
Like this :
At your HTML put a hidden field called anything, for example : uniqueid and give it a value like this :
then select your form and hit create a table, now the "uniqueid" filed name will be listed so just choose it to be recorded.
Cheers
Max
Like this :
At your HTML put a hidden field called anything, for example : uniqueid and give it a value like this :
<?php echo $uniqueId = substr(md5(uniqid(rand(), true)), 0, 8); ?>
then select your form and hit create a table, now the "uniqueid" filed name will be listed so just choose it to be recorded.
Cheers
Max
And it works!
Thanks again for all your help, Chromo Forms is the best. It can do everything i need it to do.
Keep up the good work!
Thanks again for all your help, Chromo Forms is the best. It can do everything i need it to do.
Keep up the good work!
This topic is locked and no more replies can be posted.