Php contact form unique id generation
Permalink
Not really a concrete5 issue...
but I am trying to create a simple form in C5.6.3.3 that emails the recipient a unique number for every form response he receives. Also be cool if the form details where sent to the sender
Tried the hidden field with mt_rand but just returns the code and not a number.
Anyone know how to easily do this?
but I am trying to create a simple form in C5.6.3.3 that emails the recipient a unique number for every form response he receives. Also be cool if the form details where sent to the sender
Tried the hidden field with mt_rand but just returns the code and not a number.
Anyone know how to easily do this?
And I presume this sits in the form processing file?
And nothing needs to be done on the htm form page?
And nothing needs to be done on the htm form page?
You would want to create a custom template or override the view file.
You could add a hidden field in the custom template/override with the time set as the fields value.
You could add a hidden field in the custom template/override with the time set as the fields value.
<?php echo time();?>