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

    Logic misfire? Conditions - show/hide field

    Asked by sheilazaldivar on July 08, 2012 at 11:46 PM

    I have a form with conditions - show/hide field. The logic is pretty straight forward. If the answer is "No", show "X" - or something similar. At any given time, people can only answer 1 of the 2 questions (ie. if they answer item "2", they cannot see/answer item "2)".  The difference being the ")" after the item number.

    The thing is, I see responses for both items. I cannot replicate the error. Kindly help.

     

    This submission 2012-07-08 12:45:25 has both answers to items 2 and 2), 4 and 4). 
    This submission 2012-07-06 00:42:40 has both answers to items 2 and 2), 4 and 4), and 5 and 5)
    Every time I test the form on my end, it functions perfectly. But I do see logic misfires when I review patient's responses. Appreciate your speedy help.

    Thanks

     

    Shell

     

     

    Page URL:
    http://new-glaucoma-treatments.com/canaloplasty-assessment-form/

  • Profile Image
    JotForm Support

    Answered by abajan on July 09, 2012 at 12:40 AM

    Shell

    There appears to be a number of issues going on here. For one thing, there's a conflict of some sort between your web page's source and that of the form because while the conditions aren't hiding any fields when the form is viewed in your page, they're working at the form's own URL. That can be corrected by substituting the iFrame version of the form's code:


    Another issue is that radio buttons should be substituted for the checkboxes in Question 4. (After all, a person can't both have had a trabeculectomy and not have had it. They either had the surgery or they didn't. Please see Checkboxes vs. Radio Buttons.)

    Could you please explain the reasoning behind having all those duplicated fields? I'm trying to figure it out and getting nowhere.

    Thanks.

  • Profile Image
    JotForm Support

    Answered by abajan on July 09, 2012 at 12:43 AM

    Actually, the form embedded in your page is now working like the form at its own URL.