FormFieldCreate
The body that adds a field to a form.
typerequiredstring- The field type, such as TEXT, BIGTEXT, INTEGER, EMAIL, DATE, DROPDOWN, CHECKBOX, CURRENCY, OPTION_SELECT, FILE_UPLOAD or SIGNATURE.
labelstring | null- The question shown to the person filling in the form.
namestring | null- The field's short name.
descriptionstring | null- Help text shown under the question.
referencestring | null- A key that stays stable across edits, unique within the form.
validatorstring | null- Validation rules separated by a pipe, such as required|string.
placeholderstring | null- Placeholder text.
pre_population_keystring | null- The profile value that pre-fills this field.
backfillboolean | null- Whether the answer is written back to the profile.
orderinteger | null- The field's position within the form.
page_idstring | null (uuid)- A page of this form to place the field on.
option_preset_idstring | null (uuid)- A live option preset a dropdown field takes its options from.
optionsarray | object | null- The options of a dropdown or similar field. A list for most types; an object for a DOCUSIGN field.
condition_logicstring | null- Whether all conditions (AND) or any one (OR) must hold. AND unless set.One of: AND, OR
conditionsarray | null- Display conditions. Every controlling field must be a field of this form.