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 add number of checks in a checkbox field and save into a numeric field?

    Asked by TheBrainingCenter on April 28, 2017 at 12:24 PM

    I want to add the number of boxes someone has checked in a particular field and put that in a hidden numeric field.  What is the easiest way to do that?

  • Profile Image
    JotForm Support

    Answered by Jan on April 28, 2017 at 01:45 PM

    You can assign a value to each option of the checkbox and then create a condition that will copy that value and put in another field.

    Please check this demo form: https://form.jotform.com/71174865477973. You can clone it if you like to. Here's a guide on how I created that demo form:

    1. Insert a Multiple Choice field and Short Entry Text field.

    2. Please assign a calculation value for each option in your Multiple Choice. Just select the field and then click the "Properties" button. Go to the "Surveying" tab and put a "1" value in each line under the Calculation Values. Here's a guide: How-to-Assign-Calculation-Value.

    3. After that, create an "Update/Calculate Field" condition. The condition states that if the "Fruits (Checkbox)" is filled, the value will be copied to the "How many fruits? (Textbox)" field. Here's a related guide: Conditional-Logic-Inserts-Text-Calculation-Into-A-Field.

    Here's the result:

    Hope that helps. Let us know if you have any questions. Thank you.