Number List Field
The Number List field accepts one or more numbers from a set of numbers defined by the administrator. The Number List field is most useful when consistent data entry based on a limited number of choices is important.
Data will be stored as a single number or as multiple numbers separated by a pipe character
Refer to our example template code in the app to see how to loop over the numbers and print them. Our example template will loop over all numbers in the list and print each one in an unordered list. This is a useful starting point for code customizations.
To create a list of text options instead of number options, consider using a Text List field instead.
This is an advanced field type only available in Custom Fields. Data will be stored in a String metafield as a complete link.
Content Entry Settings
The Number List field offers several options for content entry depending on your needs.
Content entry options include:
- Select Dropdown, to collect a single data point
- Multiple Select List, to collect one or more data point. While this option is standard in all browsers, the usability is not ideal.
- Checkboxes, to allow one or more data point to be selected by clicking on checkboxes (usually preferred over select lists).
- Radio Buttons, to collect a single data point. Note that the N/A option is short for Not Applicable, which is the same as setting the field to blank or null.
Enter any amount of options on the settings form, one per line.
Content Entry Form
The content entry form differs based on the content entry options selected.
Content entry with Select dropdown
Content Entry with Multiple Select List
Content Entry with Checkboxes
Content Entry with Radio Buttons
This field may not be set to repeatable.