Product teams should be thinking differently about documents.Read blog post.
Anvil Logo
Products
Industries
Resources
Developers
Webform editor

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

Contact support

We know dealing with tech support can be painful. It's our goal to help you as quickly and efficiently as possible. Once we get your message, we will email you back as soon as we can.
    Want to try Anvil first?Sign up for free