5 Replies Latest reply on Jul 11, 2014 2:49 PM by Brian3.14

    reveal pages when checkbox is selected?

    pete@resco.ca Level 1


      I'm used to Acrobat Pro but new to LiveCycle. I need to hide several pages on a form until a user activates a checkbox. ie/  user clicks on "[x] category one" and the page that contains category one content appears. If the user deselects the checkbox, the page is hidden. ie/ user clears [ ] category one and the page with the content disappears from the user's screen.


      \i think it's called 'reveal page' but am not sure. Can someone point me in the right direction, please?


        • 1. Re: reveal pages when checkbox is selected?
          pete@resco.ca Level 1

          Well since I answered my own question, I thought I'd put the answer here just in case someone else can use it.


          First, some griping about LiveCycle: (you have to put up with this because this product is horrible and I had to pay a fortune to use it...)

          • In this day and age, why pc only? I needed only this one tiny but crucial function but was forced to borrow a pc and then purchase pc-only software ($300+) that I will doubtless use again. All of this should have been doable in Acrobat Pro with some scripting. (If your Google skills are better than mine and you find an answer, then please share it here and save others the pain and expense...)
          • Why is there a complete disregard for any sense of accepted, standard shortcuts - keyboard, mouse dragging and other placement methods? Where is the ability to drag guides out from rulers? Why can I not hold shift while CTRL+dragging a form object to keep things lined up? BTW, ALT is how this copy-dragging should be done - not CTRL. Where are the smart-guides? Why, when I target an object in the Actions Builder do I have to manually scroll or tediously collapse each page in the tree menu to get to the items further down the list? What a waste of my precious and now non-profitable time on this project.
          • I spent hours creating beautiful client-approved documents in InDesign only to discover that LiveCycle cannot import my work in a way that preserves my layout, causing me to have to rebuild all of my form elements. We're talking here about 9 documents, and almost 150 pages of pain-staking layout that had to be redone. And don't tell me that I should have used LiveCycle to begin with. This should have been much more seamless than it was.

          Seriously, this product is expensive, non-inclusive, non-standard, non-compliant, and resembles using Windows 95 in ways that no sane person should have to put up with, yet alone pay for and put up with in 2014. Yes, Adobe High Priests, I'm talking in vain to you, knowing that this will fall upon indifferent, deaf ears.

          OK - so here's the answer to my question. In a nutshell, the steps to hide/reveal pages based on the user checking or unchecking a box are:

          1. Create the checkbox by dragging "Checkbox" from the Object Library. Enter the question text and ensure that the Data Binding Name is unique for each instance. Let's say that all the check box items are on page 2 of the document. When the user selects the first checkbox, page three is revealed. So, for that check box, name it something like "CheckBox_Page3". The others would be called "CheckBox_Page4", "CheckBox_Page5", and so on.
          2. Select the first check box (Let's stick with CheckBox_Page3 as our example.) and then right-click it, choosing Actions=>Add Action (or Edit Action if an action already exists). The Action Builder dialogue opens.
          3. I'll need two actions for each check box. One that says, "If this box is unselected, then the page is hidden," and another that says, "If this box is selected, then the page is visible." Set the Condition to: "When check box CheckBox_Page3 is unselected" and the Result to: Show or Hide An Object [HIDDEN]. Then, scroll through and select Page 3 in the left hand column.
          4. Set the second action so that the Condition is: "When the check box CheckBox_Page3 is selected" and the Result to: "Show or Hide An Object [VISIBLE]. Then, scroll through again to select Page 3.
          5. Go through all of your check boxes until all the pages are set up with an unchecked/hidden and checked/visible configuration.
          6. The last thing to do is to select all of the pages that will be hidden/revealed in the left column. When that list is selected, visit the SubForm tab; Presence section and choose from the pick-list: "Hidden (exclude from layout)." Now the document will open with the appropriate pages hidden from view until a user selects the corresponding check box.


          Save OFTEN. Test thoroughly and on multiple platforms. Good luck.


          • 2. Re: reveal pages when checkbox is selected?
            pete@resco.ca Level 1

            Here's another fun fact that ate into my time and profit on this project: Apparently, Adobe Reader XI (which is what most people use to view PDF files) cannot save the information that users enter on a form that was created by LiveCycle. It is unfathomable to me that this situation should even exist. Never EVER again will I accept a project that requires me to use this PoS. I'm so disappointed, Adobe, in how LC doesn't work with other Adobe pdf products like Acrobat Pro and Reader - and don't even get me started again on the PC-only approach - so unnecessary in this day and age...

            • 3. Re: reveal pages when checkbox is selected?
              Brian3.14 Level 1

              Reader Enable the document and end user can save.  Just FYI.

              • 4. Re: reveal pages when checkbox is selected?
                pete@resco.ca Level 1

                What are the steps?

                • 5. Re: reveal pages when checkbox is selected?
                  Brian3.14 Level 1

                  I'm on Acrobat X Pro so not sure about other versions but probably similar.


                  Create file in Designer.

                  Open in Acrobat.

                  File > SaveAs > Reader Extended PDF...


                  Then play around with the settings (what rights you want the end-user to have).