Overview
Adding scoring to your forms is simple! By using the Rating field, the Calculation field, and a little bit of JavaScript, you can create forms that calculate scores based on users' responses.
For example, if you are creating a feedback form that asks customers to rate their experience from 1-10 across multiple prompts, you can have your form automatically calculate the total score. This saves you time and makes it easier to view and analyze data.
Note: This article assumes that you have a basic understanding of how to add fields, save/publish forms, and view forms on your device.
How to Add Scoring to a Form
- Add Rating fields to your form in the Form Builder.
- This allows users to rate something on a scale, such as from 1 to 10.
- To adjust the scale, select Configure Ratings from the Rating Settings menu on the right.
- Be sure to edit the text of each Rating field to your desired prompt (e.g., Rate your experience).
- Add a Calculation field to your form.
- This will be used to add the scores from each rating field together using JavaScript.
- Select Add Calculation from the Calculations Settings menu on the right.
- Select each rating field on the left that you would like to add to the Calculation Formula box.
- Optional: You can also manually type your desired fields by entering their field keys surrounded by $ signs (e.g., $rating_1$)
- Create your formula in the Calculation Formula box.
- To add all of the rating fields together, enter a + sign between each field.
- Example: $rating_1$ + $rating_2$ + $rating_3$
In the example below, we have three Rating fields and one Calculation field. We have a script in the CalculationFormula box, as well, to add all of the ratings together.
Builder view
App view
Overall, adding scoring to your forms is a great way to maximize the effectiveness of the data you collect. With a rating field that scores automatically based on the user’s answers, you can now easily capture invaluable insights!