Conditions logic not working, the term is too large error

  • spcregionii
    Asked on August 5, 2022 at 9:42 PM

    Hi,

    Can you help why this conditions are not working on my form?

    Conditions logic not working, the term is too large error Image 1 Screenshot 40

    Conditions logic not working, the term is too large error Image 2 Screenshot 51

    Conditions logic not working, the term is too large error Image 3 Screenshot 62

    Form link: https://form.jotform.com/222153159075453

    Please help. Thanks.

  • Rhina JotForm Support
    Replied on August 5, 2022 at 11:56 PM

    Hi spcregionii!

    Thanks for reaching out to Jotform Support.

    Upon checking, it seems that you have added the same field "Nama Ship To - ID" twice on your condition which causes the confusion in the system:

    1659758038 62ede5d67c510 Screen Shot 202 Screenshot 10

    Please remove one of the field and the condition should work as expected.

    See short clip of the updated cloned form below showing how the condition works:

    https://somup.com/c3j1esuGkt

    Please try this and let us know if you need further assistance.

    Thanks spcregionii!

  • spcregionii
    Replied on August 6, 2022 at 9:00 PM

    Hi Rhina,

    Thanks for your help!

    I see, it worked now!

    However, I need to add one more field to my conditions here, which is Kabupaten / Kota:

    1659833503 62ef0c9f0e56d  Screenshot 10

    But when I add the field into my existing condition, it says that the term is too large.

    So I added a new condition for Kabupaten / Kota field.

    1659833662 62ef0d3eadd38  Screenshot 21

    But the conditions not working as it should be.

    1659833843 62ef0df30ffc8  Screenshot 32

    1659833876 62ef0e148dade  Screenshot 43

    The first condition is not filled properly yet the submit button is already showing.

    So I guess the conditions logic cannot be separated, but when I combined them, it is too large.

    Can you come up with a solution?

    Thanks!

  • Saeed Support Team Lead
    Replied on August 7, 2022 at 3:42 AM

    Hello spcregionii,

    Thank you for your feedback. I’ll need a bit of time to look into this. I’ll get back to you as soon as I can.

    Thanks for your patience and understanding, we appreciate it.

  • Saeed Support Team Lead
    Replied on August 7, 2022 at 8:49 AM

    Hello spcregionii,

    Thanks for patiently waiting. The Submit is showing because one of the conditions is true associated with the Submit button(for the Kabupaten / Kota field). You'll need to add it to the main condition and tie it with other if statements. Let me help you sort this out with a workaround. It's really easy. Let's do it:

    1. Add a Short text field (Kabupaten for conditional Logic) in your form and place all the the required values (that you were trying to set up in the condition) separated by a comma as its default value. Please make sure you add values accurately as in the main Kabupaten field.

    1659876294 62efb3c6a6f09  Screenshot 10

    2. Then in your condition, set up If statement for  Kabupaten / Kota like you see in below:

    1659876408 62efb4383df16  Screenshot 21

    3. Tie all the conditions with All and hit Save.

    1659875973 62efb285befc3  Screenshot 32

    I cloned your form and implemented the above workaround. You can check my form here. If you'd like to investigate the form further, you can clone the sample form. For more information, review a step-by-step guide here on how to clone a from.

    Give it a try and let us know if you need any other help.


  • spcregionii
    Replied on August 7, 2022 at 9:00 AM

    Hi Saeed,

    Thanks for your response.

    However, I need my field as an Autocomplete widget, so the users could select the items from the list.

    Is it possible? Thanks!

  • Richard_A
    Replied on August 7, 2022 at 9:21 AM

    Hello spcregionii,

    Thanks for getting back to us. Yes! The autocomplete would still work. The recommendation provided by my colleague would only consolidate each value into a single field. Unfortunately, I wasn't able to test the condition provided by my colleague due to missing information that should be provided on your spreadsheet to form widget.

    I would suggest testing this form first and let us know if there's a specific issue that would appear on the new condition.



  • spcregionii
    Replied on August 7, 2022 at 9:32 AM

    Hi Richard,

    Thanks so much! It's working now!