Ability to input complete or incomplete dates in a field

I’d like the app users to be able to input either a full date (YYYY/mm/dd) or just the year, or year and month, if they don’t remember the specific date.

Is there a straightforward way to achieve this? Would you use separate fields? Thanks!

Hey @Nat! It’s been ages, hope you’re doing well!

I don’t think it’d be possible in a single date field, so you’d probably have to split it into Year, Month, and Day, where Year is a required field.

If you then wanted to combine it into one date field with all three values merged, I’d suggest some JS code on the same form that appends to a (hidden) date field when any of the fields are changed. You could set blanks to default to 1900, 01 and 01 for empty year, date, and month, respectively.

Curious to hear how you tackle it!