-
babanqwnAsked on August 1, 2025 at 2:14 AM
The dropdown elements have the options "Yes," "No," and "Not applicable." There are a total of 5 questions, each with a unique name from q1 to q5. I want to display the counts of how many times "Yes," "No," and "Not applicable" were selected in three separate fields. What steps should I take to achieve this?
-
Dayron JotForm SupportReplied on August 1, 2025 at 3:15 AM
Hi babanqwn,
Thanks for reaching out to Jotform Support. I’ll need a bit of time to look into this. I’ll get back to you as soon as I can.
Thanks for your patience, we appreciate it.
-
Dayron JotForm SupportReplied on August 1, 2025 at 7:42 AM
Hi babanqwn,
This can be done with the help of calculation values and few widgets, my example contains only 3 questions, but you can adapt it to yours. Let me show you how:
- In Form Builder, locate the first question, and click on the Gear icon next to it.
- Open the Options tab.
- Enable Calculation values.
- Enter the values as shown in the image below.
After this, add the same calculation values to all other fields you have. The next step is to add a calculation widget that will calculate the sum of these values:
- While in the Form Builder, click on Add Element button from the left.
- Open the Widgets tab.
- Click or drag the Calculation field to add it to the form.
- Click on the Wand icon next to the field.
- From the right panel, click Add field button.
- Add each question from your form.
- Add + symbol between them, the click Save.
- Click on the Gear icon next to the calculation field.
- Open the Advanced tab.
- Expand the Field Details section.
- Copy the Field ID.
- Click on the Wand icon next to the widget.
- In the Source field ID add previously copied ID.
- For Substring start add 2.
- For Substring end add 1.
Repeat this for the rest of the widgets. In each widget, increase substring start and end by one. Here is an example for the configuration of Total No widget:
Here is an example for the configuration of Total Yes widget:
Take a look at the screencast below to see my results:
Give a try and let us know how it goes.
Your Reply
Something Went Wrong
An error occurred while generating the AI response. Please try again!