What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

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.

  • Profile Image

    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?

  • Profile Image
    JotForm Support

    Answered by Welvin on July 31, 2016 at 09:39 AM

    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

  • Profile Image

    Answered by cgskillaccounts on July 31, 2016 at 08:45 PM
    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.
  • Profile Image
    JotForm Support

    Answered by Chriistian on August 01, 2016 at 02:21 AM

    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:

    You can also clone my test form to your account. Here's the link: https://form.jotform.com/62130816596963 

    If you need further assistance, please let us know.

  • Profile Image

    Answered by cgskillaccounts on August 01, 2016 at 04:04 AM
    Thank you! This shall workaround. :)