Introduced datepicker_field_value helper method for datepicker fields

Fixes #2405