Conditional Logic: Why calculated value changes when you click on the fields labels?

  • Profile Image
    pdiehl
    Asked on March 15, 2017 at 10:55 PM
    Thanks again Kevin,
    Here is a google drive link to the short video in hopes of explaining my issues.
    https://drive.google.com/file/d/0BxzSDTox5U3DSWFDYnltaGJQbjA/view?usp=sharing
    Patrick Diehl
    pdiehl03@gmail.com
    919-625-2186
    ...
  • Profile Image
    Kevin_G
    Answered on March 15, 2017 at 11:05 PM

    I have checked your form and I think there's a problem with the conditions, for example, you've set up conditions based on the option "Park Insurance Pack.." and such option does not exist on your field "Confirm Your Plan Choice. (pick one)". 

    You have also a condition where you're copying the value to the same field: 

    I would suggest you to fix these conditions, otherwise you may experience issues with them, you could also provide us details about how you need them to be set up and we will be glad to help you doing it. 

    Also, I have disabled those conflicting conditions and I can see the form works fine, please test on this cloned form of yours: https://form.jotformpro.com/70735361272959 

    Hope this helps. 

  • Profile Image
    pdiehl
    Answered on March 16, 2017 at 09:45 AM
    Kevin,
    I really appreciate your patience with me.
    Thanks for all your suggestions.
    I have re-worded the conditions pursuant to my understanding of your email.
    It appears I’m very close.
    There is still a few issues.
    1 - My “Family" selection works properly when any of the 3 options are chosen. This is good.
    (also, I wanted to note that while “Family” is selected, I can choose any of the 3 options in any order and the proper value shows).
    2 - When “Individual” is selected, there is still some small issues.

    A. When the first option “Legal Protection” is selected, I get a 2 different values in the Monthly Amount window if I click in either of the Add Form Element fields. I get 19.95 and then 9.95.
    B. Depending on what value is in the Monthly Amount window (either 19.95 or 9.95) when the “Legal Protection” option is choosen… If I then select the next option “Identity Theft Protection” that value does not change. It remains either 19.95 or 9.95 from the previous selection (Legal Protection).
    C. The final selection “Both Legal & Identity Protection” works properly showing the value of 29.90. However (still while “Individual” is selected) if I go back and select "Identity Theft Protection", the value in the Monthly Amount remains at 29.90? In other words, it doesn’t change back. If I then select option “Legal Protection” the Monthly Amount value reverts to either 19.95 or 9.95? And still will bounce back & fourth if I click in the Add Form Element fields.
    I fill like we’re very close.
    Sorry to be such a dummy on this, but this is a credit card sign up form and I would really like to get it correct (if possible).
    Here is my up-dated form.
    https://form.jotform.us/70725851267158
    Patrick Diehl
    pdiehl03@gmail.com
    919-625-2186
    ...
  • Profile Image
    Kevin_G
    Answered on March 16, 2017 at 11:47 AM

    No problem  Patrick, we're here to help. 

    Now, based on what you've described, I have cloned and inspected your form, I could see the same behavior, but I can still see some conflicts between the conditions. 

    For example, there's a condition that will always trigger, this will generate conflict with another conditions since currently more than one condition is triggering at the same time and affecting the same fields. 

    This condition basically conflicts with all others, since this will always be met and the statement will be always triggered so the value from monthly amount will be copied as well as other calculations from other conditions. 

    Another conflict may be between the conditions related to the individual selection, currently you have a condition when the selected option is "Legal Protection" and when the option is not equal to "Identity Theft Protection" which basically triggers both conditions when you select "Legal Protection". 

    So I would suggest you to check these conditions and make sure there's not conflict between them, I mean, there're not two different conditions calculating different values and affecting the same field that trigger at the same time, otherwise the conflict and wrong calculation values will continue on your form. 

    You may change the second condition for "Individual" to an specific value, this way it will not trigger at the same time with the other one. I would also suggest you to disable the condition that copies the value to the same field, to do it you only need to place the mouse pointer over the condition and select the settings icon: 

    Then select either the disable or delete option: 

    Hope this helps. 

  • Profile Image
    pdiehl
    Answered on March 16, 2017 at 02:46 PM
    Kevin,
    I love ya MAN!
    With your help…. I DID IT!!!!!!
    It’s working.
    I just wanted to ask one last question (or maybe two) ;-).
    My monthly total is missing the last digit when I have “Individual” selected and “Both Legal & Identity Protection” selected.
    It reads 29.9, but I’d like it to read 29.90.
    Also, when in the “Individual” select mode… the "Identity Theft Protection' choice and “Both Legal & Identity Protection” choice does not show a $ symbol.
    Is it possible to fix the last two things?
    If not…. I’m happy we’ve got it working this good!!!
    Here’s the form up-dated - if you want to look at it.
    https://form.jotform.us/70725851267158
    Thanks again….. You guys truly have the fastest and most thorough support I’ve experienced in the last few years.
    Ya never know if you chatting with a bot or talking with people in other countries whom don’t even work the the company you’re dealing with.
    Thanks, thanks, thanks!!!
    Patrick Diehl
    pdiehl03@gmail.com
    919-625-2186
    ...
  • Profile Image
    John_Benson
    Answered on March 16, 2017 at 05:31 PM

    Thank you for your nice feedback to my colleague @Kevin, Patrick. :)

    I cloned the form and I can see that you want to add the "$" and add "0" at the end of the 29.9 monthly amount. 

    Here's how to add the "$" symbol and "0":

    1. Open your form and go to the Settings section page. Select the Conditions tab and click the Edit button of the condition as shown in the screenshot below:

    2. In the Calculation field, add the "$" symbol as shown in the image below.

    3. After that, click the "..." button (option) in the calculator:

    4. Go to the Options tab and enable the Show Empty Decimal places.

    Here's the result:

    If you have questions, please contact us again. We'll be happy to help you.

  • Profile Image
    pdiehl
    Answered on March 17, 2017 at 12:46 AM
    Thank you John,
    That worked perfectly!!!!
    You guys are seriously TERRIFIC.
    Have a good evening.
    Thanks,
    Patrick Diehl
    pdiehl03@gmail.com
    919-625-2186
    ...
  • Profile Image
    pdiehl
    Answered on March 18, 2017 at 10:46 AM
    Kevin or John,
    Using the Jotform logic feature shown below, can I redirect my user response back to my EMAIL LIST with Constant Contact?
    My goal is to have a “Request for Quote” form for my potential customers and based on the users choice & interest, I would like to have the completed form submitted to a specific list within my Constant Contact email provider - in hopes of an auto responder with the follow-up quote sheet?
    Do you think this is possible?
    Patrick Diehl
    pdiehl03@gmail.com
    919-625-2186

    ...
  • Profile Image
    John_Benson
    Answered on March 18, 2017 at 02:37 PM

    Hi Patrick,

    I have moved your new question to a new thread so we can properly assist you. Please wait for our response on this thread: https://www.jotform.com/answers/1095319

    Thank you.