Datepicker

1 min read

Datepicker fields let sellers capture a date and time from their customers. Sellers have a variety of presentation controls for the datepicker field including:

  • label format
  • optional description
  • placeholder value
  • default value

Value

Format

Sellers can choose from a variety of timestamp formats within the field value settings. The selected value will always be store as UTC but when requested from the API the seller will also have the formatted value available.

Timeframe

Sellers can choose to restrict the range of selectable dates to either:

  • Any - either past or future dates
  • Past - past dates only
  • Future - future dates only

Time

Sellers can also enable a time picker within the datepicker UI when they need to capture a time as well as a date.

Settings

The input field also have a variety of settings such as:

  • Required
    • Require that the field has a value to enable checkout
Previous
Fields
Next
Fields