PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Entry Date Modified

  1. I have searched for this but cannot locate an answer.
    using: after_update_entry (or any other method) is there a way to either include in the notes or in a field the date an entry was modified on the admin side?

    I am not looking to modify/change the date submitted, just to add a date/timestamp for when a user updates an existent entry.

    I have been searching and experimenting and researching but am coming up short...

    Posted 8 years ago on Wednesday July 3, 2013 | Permalink
  2. Probably a better way to do this, but...

    add_filter("gform_field_input", "update_entry_date", 10, 5);
    function update_entry_date($input, $field, $value, $lead_id, $form_id)
    {
          //because this will fire for every form/field, only do it when it is the specific form and field
    
    date_default_timezone_set("America/Detroit");
    
    	if ($form_id == 12 && $field["id"] == 8)
    	{
    		$input = date("m-d-y G:m");
    
    	}
           return $input;
    }
    Posted 8 years ago on Wednesday July 3, 2013 | Permalink
  3. Actually--this isn't quite doing what I was hoping. this completely Replaces the field with the date/time. I would like to just INSERT the date/time into that field....

    Posted 8 years ago on Wednesday July 3, 2013 | Permalink
  4. handling via priority support

    Posted 8 years ago on Wednesday July 3, 2013 | Permalink

This topic has been resolved and has been closed to new replies.