How to increment the summary field with conditional rule?

  • annahughes
    Asked on June 25, 2019 at 9:39 PM

    I have the same question as RWReynolds listed here.  I would like to add a value to the existing value of the summary field.  Is it possible to perform operations on the current value of the summary field?

    I would like to increment a summary value by 1 based on the selections made in single choice and multiple choice fields.  

    I have tried the following formulas and either get no results, incorrect results or javascript crashes on me. Please see form and screenshot attached. Any help would be appreciated.

         {summaryfield} + 1

         +=1

         +1



    Jotform Thread 1870309 Screenshot
  • Jed_C
    Replied on June 26, 2019 at 2:25 AM

    You can add First Question and Second Question in your form calculation widget.

    ex.

    1561530219add field Screenshot 10

    Final output

    1561530281increment Screenshot 21

    Please try that and let us know if you have further questions.

  • annahughes
    Replied on June 26, 2019 at 1:13 PM

    I simplified the problem for the original post, and what you have works in that scenario. However, my scenario is more complicated.  I updated the form to be more representative.  The real form actually has 9 questions and 7 different "result" fields.

    Can you answer this question:

    Is it possible to perform operations on the current value of the summary field like in the image in the original post?

    Updated form is at the same link:

    https://form.jotform.com/91758213658163


  • Alan_D
    Replied on June 26, 2019 at 3:39 PM

    Since we are unable to update a field with using its value, we should create some temporary fields. How to increment the summary field with conditional rule? Image 10This workaround may be complicated with 9 questions. Please clone and inspect my form. 
    Guide: How-to-Clone-an-Existing-Form-from-a-URL
    https://www.jotform.com/91766127237967 1561577949bandi123 Screenshot 21

  • annahughes
    Replied on June 26, 2019 at 4:25 PM

    Thanks for the response - I was hoping there was another way, but will go with this one.  Thanks again!