Date Submitted [_date] not setting as saved field
-
I use CF7 in WordPress and I am trying to save the date submitted as a field so I can submit it to Salesforce via 3rd Party Integrations plugin (https://www.ads-software.com/support/plugin/forms-3rdparty-integration) or CFDB (https://www.ads-software.com/extend/plugins/contact-form-7-to-database-extension/) as data in the format of example 1/16/2017.
I have tried several methods of creating a field in the functions.php including
$createdate = date(‘m/d/Y’);
$createdate = current_time(‘m/d/Y’,1);
$createdate = mysql2date(‘m/d/Y’);and none seem to work consistently.
I have also tried to use the field _date taken from [_date] email field https://contactform7.com/special-mail-tags/
The site is using W3 Total Cache which may/may not be playing a role into the issue. Not sure.
Any help is appreciated
- The topic ‘Date Submitted [_date] not setting as saved field’ is closed to new replies.