- JotForm SupportNik_CAnswered on February 20, 2017 at 04:45 PM
I wasn't sure what is a and what is b in your form. But here is how to do that in this form https://form.jotform.com/70506823154957
I created conditions that will check if a = b, then if they are equal it will add 9 to a and put it in a1 field. The only way to do that is to use temp fields (like my temp and a1) because you want to use the same fields for calculations and results. But, nothing stops you to use the same names for your fields so your user will not even notice.
Let us know how it worked for you or if you need any further assistance.
- tracypdexAnswered on February 21, 2017 at 12:32 PM
Can you plase check above form and my conditions
- JotForm SupportNik_CAnswered on February 21, 2017 at 01:42 PM
I checked your form and, as I said in my previous post, for that kind of calculation where one of the numbers and results are using the same field, you have to use a temp field to hold the middle result or you will have this:
So, for example for Hormonal and Fatty acids fields, you have to have one temp field and one more Hormonal field, where a value from Hormonal field will be copied when it is filled, and then if Fatty Acids field equals temp field, then Hormonal+8 you can insert in new Hormonal field and show it to the user.
Here is how the conditions should look like:
I adjusted my test form so please check it https://form.jotform.com/70506823154957
Also, Hormonal(hidden) you could name Hormonal (the same like another field) and it will be shown instead of the original with the value added.
You have to do the same for all fields that are involved in similar calculations.
Let us know if you have any further questions.