radio button is reset when I change unrelated field

  • bdoodle
    Asked on April 15, 2015 at 5:34 PM

    I have several forms where I use a radio button near the bottom to ask the user if he is ordering a full suit or both a main and jib.  The field only shows if the order is over a monetary threshold met when the user has ordered "1" qty (or more) of the mainsail, jib and spinnaker (if any).  If the user selects "Yes", then I also show a shipping discount field and an adjusted (new) order total amount reflecting that discount.  NOTE: The order total is halved to determine the deposit amount that appears right over the submit button.

    I have a bizarre problem with this radio button field.  If the user has entered "Yes" and then he changes the State or Province selection at the top of the page, this radio button is cleared out and the shipping discount and new order total disappear from the screen, but the discount remains applied to the new order total.  (I can tell because the deposit amount is 1/2 the new order total and it still reflects the discount.)  This happens if the State or Province field is emptied or changed to another value.  No change to the State or Province field should have any effect on the radio button.

    I have cleared my browser cache and the jotform cache to no avail.  The problem happens at least in Chrome and Firefox. It also happens whether I use the regular script embed or the iFrame embed method.

    I have snippets below that show the screen before and after I changed (in this case, emptied) the State or Province field. 

    There are several forms with this issue, but an example is:

    http://www.jotform.com//?formID=50755448534158

    radio button is reset when I change unrelated field Image 1 Screenshot 30

     

    radio button is reset when I change unrelated field Image 2 Screenshot 41

  • Elton Support Team Lead
    Replied on April 15, 2015 at 8:22 PM

    Hi,

    I cloned your form here and performed trial and error test. It seems the last condition you have for the radio button field is the culprit, probably a conflict with other conditions. Deleting it should resolve the problem.

    radio button is reset when I change unrelated field Image 1 Screenshot 20

    Let us know if I have missed something. Thanks!

  • bdoodle
    Replied on April 15, 2015 at 8:34 PM

    Thanks for looking into this!

    If I delete the last condition, I have a problem when someone reduces their order from > 1300 to less than 1300 after originally answering the radio button question "yes".  I added that last condition when I encountered problems without it.  Logically, I see nothing wrong with it, and I do not want to remove it.  And why does the State or Province field come into play?  

     

  • Elton Support Team Lead
    Replied on April 15, 2015 at 10:49 PM

    @bdoodle 

    Thanks for your clarification.

    I was having hard time figuring out the problem my self. I also have no clue as to why it goes like that. However, I recreated the state or province dropdown field on top and it seems to have fixed the problem. Here's my cloned form: http://form.jotformpro.com/form/51047904803957?

    Please try to do the same steps and see if it fixes the problem. Otherwise, you can clone this form to your account and use it.

    Thanks!

  • bdoodle
    Replied on April 16, 2015 at 1:19 AM

    Thank you for figuring this out!

    It works.

  • Kiran Support Team Lead
    Replied on April 16, 2015 at 10:15 AM

    Great!! We are glad that the issue is resolved for you now. Please do not hesitate to get back to us if you need any further assistance. We are always happy to help.

    Thank you for using JotForm!!