-
annahughesAsked 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
Page URL: https://form.jotform.com/91758213658163 -
Jed_CReplied on June 26, 2019 at 2:25 AM
You can add First Question and Second Question in your form calculation widget.
ex.
Final output
Please try that and let us know if you have further questions.
-
annahughesReplied 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_DReplied 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. This 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 -
annahughesReplied 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!