TimerangeField

Subclass of UnitField

{
  "type": "time_range",
  "field_id": "hours",
  "title": "Store Hours",
  "defaults_seconds": [
    28800,
    72000
  ],
  "increment_seconds": 300,
  "max_responses_required": 2, 
  "min_responses_required": 0
}

Parameter

Type

Default

Description

default_seconds*

array

Must have length 2, and be in range [0, 24 60 60]

increment_seconds

number

Must be between 1 and 60 * 60

default_from_field

string

Must be a valid field_id