Skip to main content

Restricting a field to a list of choices

How to use the Text (single line) format to restrict possible values of a field

Updated over 2 weeks ago
  • Select format Text (single line)

  • Click on the toggle "Restrict to a list of choices"

  • Enter choices (one per line)

Choices work with all parsing engines:

  • AI engine

  • Template engines

  • Spreadsheets

Required vs Optional fields

  • If a field is marked as required, it must have a valid choice.

  • If it is optional, it can either be empty or have a valid choice.

Choices are checked after the Post Processing step. If your post processing code updates a choice field, make sure it sets a valid choice.

Documents parsed with invalid choices will fail with status "Pocessing Failed (invalid choice)". Review the document logs for more information.

Did this answer your question?