Also have ChronoConnectivity 5.0.1.
I have created a connection that allows me to enter and edit records. All of that works great, I can go in and edit and save no problem, all of those fields work like I would expect.
The problem is that I also want to track the last date modified. It was working fine when I had it in CF4, but now the modified date is not being updated for some reason. I added a custom code action in the submit event before calling the connectivity action. This is the code I am using -
What am i missing?
I have created a connection that allows me to enter and edit records. All of that works great, I can go in and edit and save no problem, all of those fields work like I would expect.
The problem is that I also want to track the last date modified. It was working fine when I had it in CF4, but now the modified date is not being updated for some reason. I added a custom code action in the submit event before calling the connectivity action. This is the code I am using -
<?php
$form->data['Location.cf_modified'] = date("Y-m-d H:i:s");
?>
What am i missing?