Support

Account

Home Forums General Issues datepicker return today's day if field empty Reply To: datepicker return today's day if field empty

  • ACF may return false or NULL for fields. Generally it returns false when a field has no value (empty string saved in DB) and NULL if the value was never saved to the DB.

    The best bet for testing either of these is

    
    if (empty($event_date_end))