Subject: | empty input value doesn't set the default value |
If the user submits an empty field, $result->is_valid is true,
$result->has_input is also true (maybe because of other fields) but
calling $result->field('startdate')->value returns undef.
That might be an erroneous defined vs. true check somewhere.