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.


  • Profile Image

    Conditionally populated fields reset in error?

    Asked by bdoodle on June 26, 2015 at 05: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

     

    Page URL:
    http://www.madsails.com/Order_XBoat_sails.html

    populated in JotForm uploads height jpg
  • Profile Image

    Answered by bdoodle on June 26, 2015 at 07: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....

  • Profile Image
    JotForm Support

    Answered by BDAVID on June 26, 2015 at 07: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:

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

    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

  • Profile Image

    Answered by bdoodle on June 27, 2015 at 08: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.

     

  • Profile Image
    JotForm Support

    Answered by Mike_G on June 27, 2015 at 04: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.

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

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