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