title: Dynamically Populate Gravity Forms Based on Start Date
body: <p>In Gravity Forms plugin I've tried to dynamically populate End Date and End Time based on the Start Date and Start Time values but no luck.</p>
  
  <p>This is the code I used to dynamically populate End Date:</p>
  
  <pre><code>&lt;?php
  add_filter("gform_field_value_date", "populate_date");
  function populate_date($value){
  return date('Y-m-d', strtotime('+0 days'));
  }
  ?&gt;
  </code></pre>
  
  <p>This actually works but it adds '+0 days' to the submission date and not to the 'Start Date' value.</p>
  
  <p>Same goes with time. I want to have the ‘End Time’ field auto-populated, i.e. End Time = Start Time. And I want to add “+1 hour” to the ‘Start Time’ and thus get ‘End Time’.</p>
  
  <p>Any suggestions?
  Tnx</p>