Help with hiding a page

  • pknapke
    Asked on January 26, 2023 at 8:43 AM

    I have a page with 26 fields on it. The display of these fields is controlled by a field selection (lets call it A) on a previous page. Actually the selection A needs to cause 25 of the 26 fields to be hidden and the user needs to fill out this one field left displayed. I have this working but it was very tedious in that each of these 26 fields needed a condition that hid multiple fields. It took forever to do and even longer to debug. I have added another selection to A for essentially "other". When "other" is selected the whole page with the 26 fields needs to be hidden and the user goes to a page where they enter the "other" information. I believe I have this working.

    However, in the case where the selection from A displays one of the 26 fields (i.e. when they do not select "other") and the user makes their selection from the displayed field, the page with the field for entering "other " gets displayed when it is not supposed to. I have tried a condition where if the selection in A is not "other", then hide the page. This causes the form to lock up.

    The only solution I can see is to create yet another condition for each of the 26 fields that says if the field is filled, then hide the page with the "other" field. I tested this with one of the 26 fields and it seems to work. I am concerned about having this huge complicated list of conditions and it taking a long time to do and even longer to debug. Going forward, our company may add more selections and the 26 fields will need to be added to. This will just amplify the problem of keeping all of these conditions straight. Not only will conditions need to be created for the new items, each of the existing 26 fields' conditions have to be edited to add the new items' fields to their respective lists of what to hide.

    Is there some function or condition I am missing that can check if any field on a page is filled (or not filled, not equal, etc.), then hide a specific subsequent page?

    The link to my form is below. The 26 Fields are on page 3. The selection field A is at the bottom of page 2, and the "other" entry location is page 4.

    Any suggestions or help would be much appreciated!


  • Mary_Ed JotForm Support
    Replied on January 26, 2023 at 8:57 AM

    Hello James,

    Thanks for reaching out to Jotform Support. I’m sorry you're having issues with your form. I’ll need a bit of time to look into this. I’ll get back to you as soon as I can.

    Thanks for your patience, we appreciate it.


  • Mary_Ed JotForm Support
    Replied on January 27, 2023 at 1:14 PM

    Hello James,

    Thanks for patiently waiting. I reviewed your forms and conditions, and it appears that you have complex criteria, but I noticed that you have already used the condition that exactly works based on your requirements of hiding and skipping pages when certain conditions are met.

    You can try the Filled Fields widget, but this can only show you how many fields were filled and how many were not. Take a look at the screenshot below to see my results:

    1674842969 63d413594e2e3  Screenshot 10

    But, if you were referring to something else entirely, could you please explain it a little more so that we can assist you? You can record a video explaining your requirements, upload it to Google Drive, and share the link with us so we can assist you in identifying a workaround to make setting up your form much easier.

    Keep us updated and let us know if you need any more help.

  • pknapke
    Replied on January 27, 2023 at 5:17 PM

    I already went in and did it the "brute force" way by tediously editing all the individual conditions. I was hoping to avoid that, but it is OK. I will check out the Filled Fields Widget and see if actions can be taken based upon what values it contains. Thanks again for your help!