The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.27 (Linux)
|
Create action date +1 day of submission - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1) +--- Forum: API (https://forums.formtools.org/forumdisplay.php?fid=17) +--- Thread: Create action date +1 day of submission (/showthread.php?tid=2040) |
Create action date +1 day of submission - Kev - Jul 2nd, 2012 Hello, I have a form which needs to be actioned by staff within 24 hours. The tracking is done by a separate system so I am just looking to add the action date to the internal e-mail generated on form submission. I thought about adding PHP i.e. something simple i.e... <?php echo 'Respond by: '. date('D M j G:i T Y', strtotime('+1 day')) ."\n";?> ..to the form and sending it to the database. But I want the date to be set at the time of submission and it is therefore probably something to be added to the api? The person filling out the form does not see the action date. Any ideas? Thanks Kev |