I have a START_Date field, and an END_Date field.
When they are the SAME DAY, I want to save the person from having to enter it twice.
If they left the END_DATE blank then I could include an ADD BEFORE Event:
LOGIC:
If END_Date = "", fill it in with duplicate of START date.
WHAT WOULD THE CODE BE IN THE EVENT?
If $values["EndDate"] = "", then
$values["EndDate"] = date("Y-m-d",strtotime("+0 days",strtotime($values["StartDate"])));
------
Or, how can I make the START_Date also populate the END_Date field immediately upon entry. Then the user could skip the END_Date field.
Any suggestions?