Umbraco Forms - Date picker field not working

Umbraco Forms version: 15.1.2
Umbraco CMS version: 15.4.2

Posting this here instead of the Umbraco Forms issue tracker in case I’m doing something wrong here.

I’m building a custom workflow, part of which involves processing the form’s record fields differently based on their field type. For date pickers (i.e. the built-in “Date” type), I have observed the record field’s values list being empty when submitting the form - this appears to be due to the presence of a hidden input with a class of “datepickerfieldshadow” in the date picker field type view, as when I remove this field from the markup, the value is propagated successfully into the custom workflow.

The value also doesn’t show in the Entries view of the form, indicating that the Date picker value doesn’t appear to be saved either.

This doesn’t happen when a short answer field has its type set to “datetime” or “datetime-local”.

Has anybody else seen this behaviour with the field shadow input, or is there something incorrect with my site setup?

On closer inspection, this appears to be an issue with our site after all, specifically how we are overriding the default Forms themes.

1 Like