Conditions not working properly

  • txforesttrail
    Asked on August 8, 2014 at 7:13 PM

    Hello,

    I have created a form that utilizes conditions for hiding and skipping.

    All works correctly until a user goes "back" on the form to change their answers. At that time, the new answers and the previously answered questions (saved by the browser) are both stored.

    The previously answered questions are hidden by a new condition - which cause the form to work incorrectly.

    Is there a way to fix my conditional statements to prevent this from occurring.

    I've spent hours on this and am at a loss; please help.

    Thanks in advance,

    Marty

     

    Here is my form:

    http://form.jotformpro.com/form/42185255053956

    Example

    -If the user were to choose 2/3 panel and 2 text events...

    -The form will skip a page, the user enters their information, then to move on, the must check a box, that hides a number of items and reveals the appropriate number of 2 text events.

    -If the user were to decide half-way through the form that they wanted to do a full-panel and they backed to the beginning of the form, and selected full-panel, the form still retains that the check box on the bottom of the 2/3 panel is still checked, so the user is immediately directed to the text events area. The Panel page is skipped and then the form goes crazy...

  • gori-mathew
    Replied on August 9, 2014 at 8:00 AM

    Hi

    Thanks for contacting,

    Follow your question in the following  Thread

    Thanks

     

     

  • txforesttrail
    Replied on August 9, 2014 at 11:27 AM

    Hello, Gori-Mathew

     

    I started this new thread  -  it is a new question.

    The question I asked was very specific about an option that does not currently exist.

    Now, I am asking for assistance with my current situation and I am looking for alternative solutions.

     

     

     

  • Elton Support Team Lead
    Replied on August 9, 2014 at 7:32 PM

    @txforesttrail 

    Thanks for clarifying. I understand exactly what you mean and this is most probably due to the autofill feature that is enabled on your form. The best way to resolve this is to disable the autofill feature on your form, otherwise the browser will continue to remember what fields are filled/answered answered by the user on the previous pages.

    To disable the autofill feature, click Setup & Embed > Preferences > Go to Advanced Settings > Click Edit Autofill Settings button and disable it when the new wizard appears. Check this screenshot.

    Conditions not working properly Image 1 Screenshot 20

    If you have further questions, let us know here.

    Regards!

  • txforesttrail
    Replied on August 10, 2014 at 5:43 PM

    Thank you for your suggestion @EltonChris.

    Unfortunately, I have tried this and it does not change the out come. Here is what happens.

    Could someone actually look at my form and test it? I really need help.Conditions not working properly Image 1 Screenshot 20

    Could someone actually look at my form and test it? I really need help.

  • jonathan
    Replied on August 10, 2014 at 6:44 PM

    Hi,

    Thank you for providing us more details.

    I think I was able to understand clearly now what was the problem you were reporting.

    Please understand that using the "Back" button of page break field does NOT remove or clear values/answers of the fields. It simply navigates on the form.

    In your form http://www.jotformpro.com/form/42185255053956  there is a checkbox field that have condition to Skip to pages in the form once the checkbox is checked.

    Conditions not working properly Image 1 Screenshot 30

     

    What is happening now when you checked "Check here to continue"  the first time, it will remain checked always.

    Unless you reset or Refresh your browser, the answer/checked will NOT be removed.

    So, using the page break Back/Next button will not let you go back to the Check field to uncheck/check again because of Skip condition. 

    Conditions not working properly Image 2 Screenshot 41

     

    I suggest you review of the conditions on the form to figure out a correct process that will work the way you wanted the condition rules applied on the form.

    I will check this also and get back to you once I have a suggested workaround.

     

    Thanks.

     

  • txforesttrail
    Replied on August 10, 2014 at 9:07 PM

    @jonathan

    Yes, you nailed my problem - I have previously requested a "clear" feature, but until then, I am really thrown.

    Originally, I setup the form (to skip and hide) based solely on the selections made on the "Ad Sizes Page."  It would only work for the first rule, all other iterations of the conditions would not function. The user would just be sent to the next page (omitting the skipping and hiding).

    I have read, reread and studied the conditions information found on jotform, in the manual and on the support forum. I am really stumped, can you offer a set of conditions that would work with out the "check here"?

     

     

     

  • txforesttrail
    Replied on August 10, 2014 at 10:47 PM

    I need further assistance from an individua. What is the customer service email address?

  • jonathan
    Replied on August 10, 2014 at 11:59 PM

    Hi,

    Sorry for the delays.

    I did further testing on your form http://www.jotformpro.com/form/42185255053956 and I have come up with a version that I need you to check first if it matches the conditions/rules you want on the form.

    Please check this form http://www.jotform.me/form/42218807473457

    Test the conditions I made for the Purchase Order tool ("Select Advertising Options") -- I have focused first on that field.

    The condition is like this

    Conditions not working properly Image 1 Screenshot 20

     

    I used the method described on this user guide  -Hide-or-Show-Multiple-Fields-at-Once

    If you want to check the form thoroughly, you can also clone it so that you can open it in your form builder.

    Follow this user guide to clone my test form -How-to-Clone-an-Existing-Form-from-a-URL

    We will wait for your updated feedback.

    Thanks.

     

     

     

  • txforesttrail
    Replied on August 11, 2014 at 12:33 AM

    Thank you for your work on my problem. Yes, the 1/3, 2/3, Full panel and Text only options do work (and also work after the you use the back button!).

    I see that you eliminated the page breaks and used the show condition (where I used the hide condition).

    The function, that showed the "text only entries" has been eliminated. I cloned the form and attempted to use a hide condition similar to the one I used before? (If advertising option Quantity is = to to 1 Hide (the contents of text entry #2-#5).

    This did not work. Can you suggest a rule or action that I can write that will still hide/show the appropriate text fields?

    Thank you again. I am grateful for your assistance and look forward to your response.

     

     

     

  • txforesttrail
    Replied on August 11, 2014 at 3:11 AM

    Here is my new form, based on your clone: http://form.jotformpro.com/form/42221411476950

    I wrote conditions reveal the appropriate number of collapsed fields based on the user's quantity selections for the "Text Only" product on the purchase order tool.

    Now, everything is working EXCEPT if you select "Text Only" and nothing else. 

    If you do that the only thing that appears is the "back" and "next" buttons.  Conditions not working properly Image 1 Screenshot 20

     

     

     

     

     

  • txforesttrail
    Replied on August 11, 2014 at 3:16 AM

    This is the screen that shows if you just select "Text Only" and nothing else.

    Conditions not working properly Image 1 Screenshot 20

  • jonathan
    Replied on August 11, 2014 at 4:29 AM

    Hi,

    The "Text ONLY" panel is actually on the Next page after this one

    Conditions not working properly Image 1 Screenshot 50

     

     

    I think you have actually almost there on this version of your form http://form.jotformpro.com/form/42221411476950

    Except for that page break which seems to be not properly placed, I think the condition is now properly set.

    This is what I see when I test the form.

    Conditions not working properly Image 2 Screenshot 61

     

    I selected the Text ONLY option and use 2 events option.

    Going to the Next page, I can see the Text ONLY panel

    Conditions not working properly Image 3 Screenshot 72

    --

    This page break is only misplaced at the moment the reason it was showing when Text ONLY is the only selected option.

    Conditions not working properly Image 4 Screenshot 83

    I will check how this can be corrected.

    Kindly inform us also if I am missing anything else so we can check further.

     

    Thanks.

     

     

  • jonathan
    Replied on August 11, 2014 at 4:55 AM

    Hi,

    I was able to figured out the extra page break that shouldn't be in the form anymore.

    You can remove it and test the form again.

    Conditions not working properly Image 1 Screenshot 20

     

    Please inform us if there is more we can help you with.

    Thanks!

  • txforesttrail
    Replied on August 11, 2014 at 5:13 AM

    I see....I had put that page break in, because all of those questions on one page will be TOO much for my users. (They are easily overwhelmed). 

    I understand that the form won't work with the current page break, but could I set up a condition that would insert a page break or is there some sort of work around? 

    Thank you again...

  • txforesttrail
    Replied on August 11, 2014 at 5:17 AM

    Hmm... Or maybe I could put a statement that would "show" above the page break, only when they select "text only" (and nothing else) that says "click next to continue ".

  • jonathan
    Replied on August 11, 2014 at 7:13 AM

    Hi,

    I am sorry, but I think we have max out what the condition logic can do within the form builder with  the latest version of the form.

    I also tried figuring out how to make the page break HIDE depending on the condition (i.e if advertising option is not selected it should hide the page break) but, unfortunately it will not work as you cannot make the page break invisible base on conditional statement.

    But as the most resort we can try is using the form's source code.

    User Guide: -How-to-get-the-Full-Source-Code-of-your-Form

    If you can use the full source code of the form and embed it on your website, we can create some external functionality that can compliment the conditional statement (example, hide the page break field if that page is not selected in the advertising option)

    Tell us if using the form's source code is applicable for you.

    Thanks.