Forums

sent date and time

marglar 06 Sep, 2008
Is there any way to have the date and time that a user submitted the form sent in the email I receive? I'm using v3 beta 2 (upgrading soon)

Also, is there a way to redirect them to a thank-you "page" that isn't visible in any menus?

Thanks for any help!
Max_admin 06 Sep, 2008

Is there any way to have the date and time that a user submitted the form sent in the email I receive?



yes, you can add a hidden filed with HTML and inside the value attribute add this :

value="<?php echo date("Y-mm-dd H:i:s"); ?>"

2nd one, add the article to a hidden menu!😉

Cheers

Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
marglar 06 Sep, 2008
sorry to be overly nooobish, but could you please be a bit more specific on where this hidden field is created and where I put it? (and how it ends up in the email)

thanks, this is really cool.
Max_admin 07 Sep, 2008
inside the form HTML code box with all other code there :

<input type="text" name"time" value="<?php echo date("Y-mm-dd H:i:s"); ?>">


at your template, write : {time}

let me know!

Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
marglar 07 Sep, 2008
It worked perfectly, thank you!
This topic is locked and no more replies can be posted.