Php contact form unique id generation
Permalinkbut 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 nothing needs to be done on the htm form page?
You could add a hidden field in the custom template/override with the time set as the fields value.
<?php echo time();?>