Product teams should be thinking differently about documents.Read blog post.
Anvil Logo

Limiting items in a list field

List fields help collect different types of related information within a Webform. By default, users are able to add as few or as many items to a list field. In this tutorial we’ll show you how you can use the JSON editor to restrict the number of items that may be submitted to list fields. For more information on how to add list fields to your Workflow, please see this article instead.

Please note that the advanced JSON editor is only available on Custom plans.

Back to Help Center

List item minimum and maximums are set at the main list level. Both settings are optional and can either be configured individually or simultaneously.

When a field is required, users must enter at least one item before they can proceed. Due to this, we generally recommend specifying a minimum only if you require a user to enter two or more items.

Set input limits on list fields

Here are the options that you can add to your List fields' configuration file:

"options": {
    "max": 5,
    "min": 2
Back to Help Center

Other common posts

1 - 0 of 0

Sign up for a live demo

Request a 30-minute live demo today and we'll get in touch shortly. During the meeting our Sales team will help you find the right solution, including:
  • Simplifying data gathering
  • Streamlining document preparation
  • Requesting e-signatures
  • Building and scaling your business
Want to try Anvil first?Sign up for free
Want to try Anvil first?Sign up for free