JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
How to display a counter of filled fields in the form?Asked by cgskillaccounts on July 31, 2016 at 07:31 AM
How do I use this wizard? For say a Dropdown field which is filled equals to 1. If many fields which is filled, it will count all these field = filled = how many fields are filled up?
Try checking our progress bar widget: https://widgets.jotform.com/widget/progress_bar.
To add a widget in your form, simply follow the steps from this guide: https://www.jotform.com/help/252-How-to-Add-a-Widget-to-your-Form.
Hi, am afraid is not which I asked for. Is to return value of field if is
filled equals one or something like that so I can count how many fields are
filled with values.
Unfortunately there is currently no widget available that can fulfill your requirement. The only widget close to your need is the Progress Bar widget, but I see that this is not what you require for your form.
A possible workaround I can suggest would be to add number fields that will serve as the counter for each fields, then use the update calculate condition to detect if the field is filled.
1. Add a hidden number field for each of the fields that you have on your form.
2. Now create Copy/Calculate conditions for the number fields and their corresponding field. Here's a guide that you can check out: How to Insert Text or Mathematical Calculation into a Field Using Conditional Logic. You can see the example for the Name field below:
3. Follow step 3 for the rest of the fields and their number field.
4. Now add a Calculation Field that will tally the number fields that have a value of 1. Here's a guide that can help: How to Perform Calculation in the Form?
Here's how it should work after:
If you need further assistance, please let us know.
Thank you! This shall workaround. :)