Skip to main content
Menu
On this page

Date

Collect a real calendar date in YYYY-MM-DD form.

Rendered by the SDK
@usefillo/react
Interactive local preview. Nothing is submitted.

The date field collects one calendar date and stores it as a YYYY-MM-DD string.

Validation

Fillo checks both the string shape and the calendar itself, so a value like 2026-02-30 is rejected. The stored answer has no time or timezone.

There's no minimum-date, maximum-date, disabled-day, or display-format option in the current schema. If you need those rules, use a custom field and validate the value in the component and your receiving system.

Add a date field

In the dashboard, select Add block and choose Date.

ts
const startDateField = {
  id: "start_date",
  kind: "date",
  label: "Preferred start date",
  required: true,
} as const;

URL prefill accepts the same YYYY-MM-DD value through the field ID, for example ?start_date=2026-08-01.

Updated

Was this page helpful?