What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
radio button is reset when I change unrelated fieldAsked by bdoodle on April 15, 2015 at 05: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:
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.
Let us know if I have missed something. Thanks!
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?
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.
Thank you for figuring this out!
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!!