Use a repeater field to let your users add multiple entries for the same information.
Written by Abdul Moiz

# Repeater Fields
Welcome to the Repeater Fields guide! This article explains how to let your users add multiple entries for the same information—like products in an order form, expenses in a budget, or tasks in a to-do list.
A Repeater Field is a special form element that allows users to click an Add button to create more entries of the same set of fields. This is handy when you need flexibility—such as adding multiple line items on an invoice or recording various items in a single form.
Within a repeater, you can include:
Tips:
When you need to compute something for every item (like price × quantity), you’ll typically use Repeater Context Variables.
A Repeater Context Variable automatically applies a formula to every entry in the repeater. This is how you get per-item calculations (e.g., a line total) in each row.
##### How to Set It Up
##### Getting Field Values in Each Item
Use getCurrentValue("fieldName") inside the repeater context:
This formula calculates a line total for each item.
To aggregate data across all items (e.g., summing every line total in a list of products), you can use functions available in Standard Mode:
unknown nodeThis adds up the "amount" field for all items in the orderItems repeater.
For more complex calculations (like multiplying fields before summation):
unknown nodeIf you prefer a coding approach or need custom logic, you can switch to JavaScript Mode. Keep in mind that standard repeater functions (like repeaterSum) are not available in JavaScript Mode.
Example:
unknown nodeOr, to work with all entries:
unknown nodeNote: If you’re not comfortable with JavaScript, standard mode should cover most use cases.
repeaterSum("repeaterName", "fieldName")Sums the specified field across all entries.
repeaterCount("repeaterName")Counts the number of items in the repeater.
repeaterAverage("repeaterName", "fieldName")Calculates the average value of a specified field.
repeaterGet("repeaterName", "fieldName", index)Retrieves a field value from a specific item (index starts at 1).
repeaterJoin("repeaterName", "fieldName", ", ")Combines the text from a field across all items, separated by the character(s) you choose.
repeaterExpressionSum("repeaterName", "@field1 * @field2")Performs complex calculations across all entries.
repeaterCountNotEmpty("repeaterName", "fieldName")Counts how many entries have a given field filled.
getCurrentValue("price") * getCurrentValue("quantity")repeaterSum("orderItems", "lineTotal")repeaterSum("expenses", "amount")getCurrentValue("hours") * getCurrentValue("rate")repeaterSum("invoiceItems", "lineAmount")Q: How many items can users add? A: You decide by setting minimum and maximum values in the repeater settings.
Q: Can I nest repeaters? A: No, you currently cannot place a repeater inside another repeater.
Q: How do I format numbers (e.g., currency)? A: In field settings, you can choose the number of decimals, add currency symbols, or enable thousand separators.
- Make sure your field names match exactly (case-sensitive).
- Verify you’re using the right function (e.g., repeaterSum instead of SumRepeater).
- Test with simple data to isolate the issue.
- Confirm you haven’t reached the maximum allowed entries. - Check if you’re in preview mode, which may limit functionality. - Ensure no required fields are blocking progress.
Try adding a Repeater Field to one of your forms and see how much easier it is to handle multiple entries. If you need advanced calculations, explore the standard functions—or dive into JavaScript mode if you’re comfortable coding. Don’t forget to test everything thoroughly!
That’s it! You should now have all you need to start using Repeater Fields effectively. Happy building!
Did this answer your question?