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

    Conditional Logic Issue

    Asked by katmbe on April 28, 2013 at 06:02 PM

    I created a survey form for this weekend and just found that it's having issues with the conditional logic I set. Is there anyway to fix this?

    When you hit "No" the submit button doesn't show even though I asked it to. But if I cancel the conditional logic set for the "Yes" option (which eliminates the submit button on the "Yes" side), it works. But it won't work for both Yes and No. What do I do?

    Also your "Skip to a page or end of the form" condition isn't working.

    I hope I'm able to get a reply today. I need the data by Tuesday.

    Page URL:
    http://form.jotform.us/form/31165599801156

    survey survey form
  • Profile Image

    Answered by katmbe on April 28, 2013 at 06:27 PM

    Oh, and I tried the following: http://www.jotform.com/help/196-How-to-Hide-or-Show-Multiple-Fields-at-Once-Based-On-a-Single-Conditional-Entry without success. It works with one or the other and not both. I need this to work.

     

    Please help!

  • Profile Image

    Answered by falkirks on April 28, 2013 at 06:40 PM
    Have you tried using the is filed event instead of equals to?
  • Profile Image

    Answered by katmbe on April 28, 2013 at 06:49 PM

    No, because the condition are if "Yes" the form should be filled out and if "No" they hit submit and I can't get that to happen.

  • Profile Image

    Answered by falkirks on April 28, 2013 at 06:54 PM
    Ahh I get what you mean.
    Try using the page break element along with a submit button directly after the yes or no question.
    The order of fields would be the yes or no, the submit button and then the page break
    Then add a condition saying if the variable is yes show page break
    Also add one saying if the variable is no show the first submit button

    This means the form will have two submit buttons although one will be hiding
  • Profile Image

    Answered by katmbe on April 28, 2013 at 06:58 PM

    Yeah, I did that and it still didn't work. Only one of the options Yes/No gets the submit button and the other doesn't.

  • Profile Image

    Answered by falkirks on April 28, 2013 at 06:59 PM
    You have used the page collapse element not the page break element :)
  • Profile Image

    Answered by falkirks on April 28, 2013 at 06:59 PM
    I will create an example if you can't get it
  • Profile Image

    Answered by katmbe on April 28, 2013 at 07:00 PM

    It's just not going to work with the Yes/No option. I eliminated that condition and the form works fine. It's to bad because now the "No's" will have to fill out the entire form and might not want to. Oh well.

  • Profile Image

    Answered by katmbe on April 28, 2013 at 07:04 PM

    Btw, I don't see a page collapse element. I did already try the Form Collapse element (as mentioned before) and the Page Break element, neither of which worked.

  • Profile Image

    Answered by falkirks on April 28, 2013 at 07:04 PM
    Check this form it uses a clone of your conditional logic that was present on your form plus my worn method I detaild above
    You can clone it by selecting import form in the create form wizard and following the instructions.
    http://form.jotform.ca/form/31177392564257?
  • Profile Image

    Answered by falkirks on April 28, 2013 at 07:06 PM
    Whoops I see an issue. You didn't set a condition on if not why? Will fix :)
  • Profile Image

    Answered by katmbe on April 28, 2013 at 07:07 PM

    Actually, it was there when I submitted my question. I just deleted it. LOL

  • Profile Image

    Answered by katmbe on April 28, 2013 at 07:08 PM

    I deleted it when I mentioned that I eliminated the condition and it worked. ;)

  • Profile Image

    Answered by falkirks on April 28, 2013 at 07:08 PM
    I fixed my copy up if you want to clone it feel free.
  • Profile Image

    Answered by katmbe on April 28, 2013 at 07:10 PM

    Thanks, but you're missing the "If not, why?" for the "No" option.

  • Profile Image

    Answered by falkirks on April 28, 2013 at 07:11 PM
    On my end it works fine.
  • Profile Image

    Answered by falkirks on April 28, 2013 at 07:13 PM
    See it works :)
  • Profile Image

    Answered by katmbe on April 28, 2013 at 07:16 PM

    Sweet! You fixed it. How'd you get the page break to work? I inserted it, added the conditions and nada.

  • Profile Image

    Answered by katmbe on April 28, 2013 at 07:18 PM

    Oh, I see! You had to add submit after the first two questions and again at the end. Sweet! I'll give it a go on mine.

    Thanks for fixing that. I'd use your, but I already have data in my form that I need. :)

  • Profile Image

    Answered by falkirks on April 28, 2013 at 07:19 PM
    Hope you get it working :)
  • Profile Image

    Answered by katmbe on April 28, 2013 at 07:21 PM

    Me too, I've spent too many hours on this already and need to get my other homework done. :D I'll let you know in a few.

  • Profile Image

    Answered by falkirks on April 28, 2013 at 07:22 PM
    Yeah you should be glad you found Jotform though. Any other form builder makes things impossible.
  • Profile Image

    Answered by katmbe on April 28, 2013 at 07:27 PM

    I didn't need the Page Break afterall! It was all in the way you separated out the No conditions. Check it out now! :D

     

    http://form.jotform.us/form/31165599801156

  • Profile Image
    JotForm Support

    Answered by jonathan on April 28, 2013 at 11:03 PM

    @katmbe

    Hi, can I assume that you had your issue sorted out already?

    I test view your form, it seems the condition logics are working as intended already.

    Please feel free to contact us anytime should you have further question.

    Thanks.