FormFieldWrite
A field in a form body.
idstring (uuid)- An existing field of this form, to change it. Leave it out to add a field, or to match one by `reference`.
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)- An existing page of this form to place the field on.
page_numberinteger | null- The order of a page to place the field on, including a page created in the same body. Send it or `page_id`, not both.
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.
requiredboolean | null- Accepted and ignored, so a fetched form can be sent back. Put requiredness in `validator`.
condition_logicstring | null- Whether all conditions (AND) or any one (OR) must hold. AND unless set.One of: AND, OR
conditionsarray | null- Display conditions. Send an empty list to remove them; leave the key out to keep them.