#fields-date
h3.is-size-3 Formidable Date Field Doc
p The Formidable Date Field is invoked by setting the
code fieldType
| to
code FieldType.Date
| . This enables some Date-specific additional properties like
code minLength
| and
code maxLength
|.
h4.is-size-4 Basic Config
p The basic configuration for a Formidable Date involves
code value
|,
code fieldType
|, and the optional
code label:
.columns.is-mobile
.column
pre(v-highlightjs="JSON.stringify(basicDateFormConfig, null, 1)")
code(class="javascript")
.column
FormidableForm(:form="basicDateFormConfig")
p More advanced configurations of the Formidable Date involve using the additional property
code DateType
|:
code Datetime
|,
code Date
|,
code Time
|.
.columns
.column
pre(v-highlightjs="JSON.stringify(refinedDateTypeFields, null, 1)")
code(class="javascript")
.column
FormidableForm(:form="refinedDateTypeFields")