Conditionally populated fields reset in error?

  • bdoodle
    Asked on June 26, 2015 at 5:02 PM

    I show and require the Ordering Main and Jib question when the order amount > $1370.  If I answer the question "yes", then a shipping discount is applied and it and the New Order Total field is shown.

    If I then add the order of a hat or visor, the full suit ordered question is reset and the shipping discount field and New order total disappear.  Why?

    Form in question is:

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

    Conditionally populated fields reset in error? Image 1 Screenshot 30

     

    Conditionally populated fields reset in error? Image 2 Screenshot 41

  • bdoodle
    Replied on June 26, 2015 at 7:02 PM

    please see previous problem with this same form and field:

    http://www.jotform.com/answers/553284-radio-button-is-reset-when-I-change-unrelated-field#5

     

    Maybe the problems are related....

  • David JotForm Support Manager
    Replied on June 26, 2015 at 7:49 PM

    It was quite hard to find the problem, but I guess I did find it, I see there is a conditions that  I really do not know what is used for since it's inserting a value into a check box:

    Conditionally populated fields reset in error? Image 1 Screenshot 30

    So, I disabled that condition, and it seems to fix the problem:

    Conditionally populated fields reset in error? Image 2 Screenshot 41

    Here is my form: http://form.jotformpro.com/form/51767636886979?

    You can clone it if you want to: http://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL

  • bdoodle
    Replied on June 27, 2015 at 8:33 AM

    I need the condition that you say I should delete.  Unless you can convince me that it is logically wrong to have it, I intend to keep it.  I have the same problem on about 10 forms.  I appreciate you trying to help, but I need a solution that doesn't cause a different problem by omitting necessary logic.  Could it have anything to do with the order the conditions are in or with the requiring or showing of the fields in question?

    Thanks for working on this.

     

  • Mike_G JotForm Support
    Replied on June 27, 2015 at 4:38 PM

    I understand that you don't want to disable or remove the condition that was mentioned by my colleague, BDAVID. That specific condition, I think, resets the selection previously made on the "Ordering Main and Jib" Radio field when the value of the "Original Total" is updated after you made some additional selections or orders making the "Shipping Discount" field and the "New Order Total" field hide again. It is because, I believe, you are passing a numeric value of "0" to the "Ordering Total" radio field and there is no "0" option from that field only "Yes" and "No".

    That puts me into thinking that you need some sort of a condition that would check the previous selection of the "Ordering Main and Jib" field after additional orders were placed. And you can try this workaround.

    I have added two text boxes on the form and conditions to do such task. 

    Note: Those text boxes are hidden on the form, of course.

    Conditionally populated fields reset in error? Image 1 Screenshot 40

    Conditionally populated fields reset in error? Image 2 Screenshot 51

    You can try to check this cloned form: http://form.jotformpro.com/form/51775622165963

    Conditionally populated fields reset in error? Image 3 Screenshot 62

    I hope this helps. Let us know if you need any further assistance. Thank you.