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

    Changes to Checkbox field options (text) breaks conditional logic

    Asked by charitychallenge on March 12, 2015 at 02:00 AM

    I have a number of forms that have conditional logic that is dependent upon the choices of text box fields.

    On a number of occasions, I have been forced to re-edit every condition that is dependent upon Text box fields where I have changed the wording of the text box choice.  Note, the sequence of the Check Box choice options does not change - just some of the text, but still, the conditions all become affected because the conditions appear to be looking for matches on exact wording - so if wording changes, the affected conditions must be manually updated.

    Can someone please confirm whether this is a bug, or whether there is an easy way to automatically update the Conditions to reflect any option text changes?

    If it is a bug, to me, a better solution would be for Text Box (and I radio button) choice fields to be matched on their sequence number as opposed to their text content. e.g.

    Option 1 - blah blah blah text

    Option 2 - lalal al alal al l a

    Option 3 - dooda dooda

     

    In the above examples, if I choose to simply change the text of option 2, any conditions based on this option should not be affected - instead, the condition should simply know that it relates to Option 2.

    Here is an example form where you can test.

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

    Please go to the Sponsorship field {sponsorshipplease} set of text box options and find a linked condition to one of the options.  Then change the wording for the same option and go back to the condition and note that the conditional logic has broken.

    Anyway, in the end, I'm interested in feedback on how to get around the above problem of not having to go through and update all related Conditions where any text options might have been reworded at some point.

    Hope this makes sense.

     

    Thanks

     

    checkbox checkbox field JotForm check Updated content
  • Profile Image

    Answered by Sean on March 12, 2015 at 11:34 AM

    I cloned your form and did test adjustments. For the text boxes, I can see that if changes are made to the labels for the text boxes, this is automatically updated in the conditions that are associated with that field. Take a look at this example:





    I made adjustments to the label for the text box field and it was automatically updated in the conditional logic statements associated with the field.




    This seems to be working as it should.

    Whenever changes are made to check box options, the conditional logic for those become inactive or nonfunctional. Those conditional statements require adjustments seeing that the conditions are based on the text aspect of the check box options. 





    I changed the text of one of the check box options and it was not updated in the conditional logic statement.





    I believe this is the bug that you are referring to. I will pass this information on to our development team so that they are aware of the issue. Any further updates re this issue will be communicated to your via this thread. 


    Regards

  • Profile Image

    Answered by charitychallenge on March 12, 2015 at 08:48 PM

    Yes

    The latter checkbox problem associated with the Sponsorship field {sponsorshipplease} set of text box options.  That is what I indicated was the bug.

    I am keen for a resolution because this sort of text box option is what I use quite often and regularly change.  Given that there are a number of associated conditions to test, it is very labor intensive to correct every time I have to adjust even one word.

    I have another form to create using the same field, but different text box option wording required.  I will wait today to see if there is a positive resolution before I build this.

    Also, as indicated, I have suggested an alternative approach for your conditional logic to be testing the sequence number of the text box option, as opposed to the actual text.  This would be a far more efficient way to test conditions.

    Thanks

     

  • Profile Image
    JotForm Support Manager

    Answered by Jeanette on March 12, 2015 at 08:57 PM

    We cannot give you an estimated time of accomplishment (ETA) for the resolution of this bug, in the meantime there is no other way, but to apply the suggestion given by Sean.

    On regards to your suggested alternative approach, we actually have the Dynamic Dropdown widget that might accomplish your scenario

    http://widgets.jotform.com/widget/dynamic_dropdowns

    Here is the demo form:  http://form.jotformpro.com/form/43514646570961

     

     

  • Profile Image

    Answered by charitychallenge on March 12, 2015 at 09:37 PM

    "in the meantime there is no other way, but to apply the suggestion given by Sean."

    There were no suggestions in relation to the specific problem I demonstrated.  At the moment, I know that I need to go through and update every Condition manually every time I change any piece of text.  Because multiple options can be selected, I therefore need to have many conditions to cover all the combinations of selected/not selected (this is the tedious part to check and update whenever changes are made).

    In regards to the Dynamic Dropdown widget, this does not solve the problem because one, or none, or more than one checkbox are allowed to be selected.  The Dropdown would appear to only allow a single choice.  If you are suggesting I create say, 5 duplicate Dynamic Dropdowns (each containing the same choices) to allow for more than one option to be selected, I don't think this will look very good or professional - unfortunately, looks like I will need to persist with the approach I described - laborious and clumsy.

    I understand this sort of bug will go in the queue - just hope you guys can get to it fairly soon. 

    Thanks

     

     

  • Profile Image

    Answered by charitychallenge on March 12, 2015 at 11:26 PM

    Fantastic!

    I just tested and it works great.

    Will save a lot of work!!

    Many thanks

    Earl

  • Profile Image
    JotForm Support

    Answered by ashwin_d on March 13, 2015 at 09:08 AM

    Hello Earl,

    On behalf of my colleague, you are welcome.

    I am glad to know that it is working fine for you.

    Do get back to us if you have any questions.

    Thank you!