This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 2
Time and date in confirmation screen and email receipt
Started 15 years ago by evanclivejones | 4 posts |
-
Is it possible to include the time and date of the form submission on the confirmation screen and email receipt.
Posted 15 years ago # -
Hi,
You can use emails "date created" template variable for this. To do so, go to "emails" menu and click "more options" link. In content text area, you will see this code :
{entry_data}
Simply change it to this code for showing your submission data/time.
Your submission date : {date_created} {entry_data}
Anyway what do you mean with "confirmation screen " ? is it review page or thank you/success page ?
MachForm Support
Posted 15 years ago # -
Hi,
Thanks for your support. It works ok on the email receipt.
I mean the thank you/success page. I have redirected this to a html document and was wandering is there away to put the date submitted in here
Thanks
Posted 15 years ago # -
I see .. you can use a session variable then, but you need to use PHP file in success page rather that HTML page. To do so, edit your "includes/post-functions.php" file and go to around line 1191 and you'll see this code :
return $process_result;
exactly above that line, you can add this code :
$_SESSION['sess_date_created'] = $table_data['date_created'];
then in your success page, you can add these code to show submit "date/time"
<?php session_start(); if (!empty($_SESSION['sess_date_created'])) { echo 'Your register date : ' . $_SESSION['sess_date_created']; } ?>
MachForm Support
Posted 15 years ago #
Reply
You must log in to post.