- DeralictAsked on January 08, 2015 at 07:59 PM
On my form, I have several fields which are set to SHOW or HIDE based on the value of other fields. For example, a field (a Bootstrap Switch Field) is labelled "High blood pressure?" and has the value Yes|No. A following field (a set of radio buttons) labelled "Is your blood pressure currently in the normal range?" has the values Yes|no|I don't know. A condition states:
IF High blood pressure? Is Equal To "Yes"
SHOW Is your blood pressure currently in the normal range?
...and another condition states:
IF High blood pressure? Is Equal To "No"
HIDE Is your blood pressure currently in the normal range?
Several other fields are set up the same way. By default, "High blood pressure?" is set to "No", so by default "Is your blood pressure currently in the normal range?" should be hidden. The entire form can be seen here.
The problem is, when the form is displayed "High blood pressure?" is always at the default value ("No"), but SOMETIMES the field "Is your blood pressure currently in the normal range?" is visible, and SOMETIMES it is not. This behaviour appears to be random (refreshing the page will sometimes produce a different result).
In addition, and also apparently randomly, SOMETIMES toggling the value has no effect on the visibility of "Is your blood pressure currently in the normal range?" (as if the conditional logic is just not working).
These same symptoms are seen with all my fields that are set up this way.
What is going on?Page URL:
- JotForm Supportashwin_dAnswered on January 09, 2015 at 01:54 AM
Please be noted that you do not have to necessarily add condition to hide a form field. If you have a condition to show form field that should be sufficient because if the condition does not match, the form field will automatically be hidden.
I would suggest you to delete/disable the condition you have added to hide the fields and that should solve your problem. The following guide should help you:
Please take a look at the following cloned form and see if this works as expected: http://form.jotformpro.com/form/50081260661951? Feel free to clone this form for a closer look. The following guide should help you in form cloning: https://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL
Hope this helps.
Do get back to us if you have any questions.
- DeralictAnswered on January 09, 2015 at 11:59 AM
Awesome, that did it! Good to know, as that was not intuitive. Thanks so much!
- JotForm SupportJanAnswered on January 09, 2015 at 02:12 PM
On behalf of ashwin_d, you're welcome. We're glad to hear that your issue is now resolved. Let us know if you need any help.
Thank you for choosing JotForm.