- sheilazaldivarAsked 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.
- JotForm SupportabajanAnswered on July 09, 2012 at 12:40 AM
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.
- JotForm SupportabajanAnswered 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.