Button to show a hidden page?

Hello,
I have been trying to figure this out, but have no had much luck with everything I have found through online and searching.  I have created a form, from scratch in Adobe Livecycle, that has three pages.  I would like the second page to be hidden unless the user presses a button to show the page.  Currently I am able to figure this out with a check box, but I would like a button, but when it comes to the Javascript to do this, I am completely lost.  I would also like a button on the second page to close the page if it was accidentially pressed.
If there are any questions, please let me know.
Thanks in advance.
Justin

Hi Justin,
There are several ways of making a page hidden/visible.
1. Select the page in the hierarchy palette. Then In the object palette in the Presence DropDown you can select "invisible".
2. You can also set the forms' presence in the initialize event of the page by writing this.presence = "invisible".
3. If you want the button to do the trick you can place the JavaScript in the click event of the button.  Page.presence = "hidden" or Page1.presence = "visible" depending upon the choice.
Thanks,
Bibhu.

Similar Messages

  • Flash Button not showing on php page

    Hi Folks,
    Hopefully this is a simple problem. I've added a Flash Button
    via the Insert Media -> Flash Button in DW8. Unfortunately the
    button does not show up when the php page is loaded up to the
    server. And yes, I did make sure to upload the button file. When I
    look at the source code from the server, the flash part looks a
    little different compared to how it normally looks on a .htm page.
    Here's what the 'view source' in the browser shows:

    David,
    I don't know what that file is. Can you elaborate?
    Thanks,
    Chris
    quote:
    Originally posted by:
    Newsgroup User
    chriscatalano wrote:
    > Hopefully this is a simple problem. I've added a Flash
    Button via the Insert
    > Media -> Flash Button in DW8. Unfortunately the
    button does not show up when
    > the php page is loaded up to the server. And yes, I did
    make sure to upload
    > the button file.
    But did you upload this file?
    Scripts/AC_RunActiveContent.js
    David Powers
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "Foundation PHP 5 for Flash" (friends of ED)
    http://foundationphp.com/

  • Is it possible to have a button to show extra hidden fields?

    I've seen this done using LiveCycle but I'm an Acrobat Pro user. I need to have extra fields hidden and then have them visibile based on a reader clicking "add more".
    Thanks,
    Bob

    This forum is for the Adobe FormsCentral (formscentral.adobe.com) which is a service that allows you to create, collect and analyze data using an online web form. You should ask PDF related form questions in the Acrobat forums: http://forums.adobe.com/community/acrobat/acrobat_windows
    I'll move your post to that forum so you don't need to retype it. They can help you out...
    Randy

  • Conditonal show a wizard page

    Hi!
    I'm using JDeveloper 10.1.3.1.0 and JHeadstart 10.1.3.0.95.
    I created a wizard layout page with 3 separated subpages (3 item regions).
    In step 2 the user can press Finish button.
    I changed the generated code for Finish button to show it on page 2.
    original:
    <af:commandButton actionListener="#{bindings.Commit.execute}"
    action="Commit"
    rendered="#{WizardPageListDolgozoSajatAdat.nextAction==null}"
    textAndAccessKey="#{nls['FINISH']}"
    id="DolgozoSajatAdatWizardFinishButton">
    <af:resetActionListener/>
    </af:commandButton>
    new:
    <af:commandButton actionListener="#{bindings.Commit.execute}"
    action="Commit"
    textAndAccessKey="#{nls['FINISH']}"
    id="DolgozoSajatAdatWizardFinishButton">
    <af:resetActionListener/>
    </af:commandButton>
    How can I achieve the following:
    If Finish button is pressed on page 2, then page 3 should not be visible.

    Change the action of the commandButton in page 2 from action="Commit" to point it the navigation rule of the page you wish to go to. e.g. action="StartSuccessPage", wherein the StartSuccessPage is bound to the a page via faces-config.xml

  • Is there a way to create a button to make an entire page visible or hidden in an Acrobat XI form?

    Is there a way to create a button to make an entire page visible or hidden in an Acrobat XI form?

    Note that Reader (11 or otherwise) cannot show/hide pages that are templates. Reader 11 can spawn new pages from templates and delete any spawned pages, however. It also supports spawning a template by overlaying it on an existing page.
    The UI in Acrobat 11 for making a page a template and setting its visibility is found under: Tools > Document Processing > Page Templates
    Here are some links to the JavaScript documentation: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.1216.html
    http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_Dev_Templates.80.2.html
    Note that some of this information is outdated with respect to Reader 11.

  • How do I get the orange firefox button to show up on the top left corner of my page?

    So, I've installed, and reinstalled the new Firefox 4. It seems like only half the features have shown up. For example, I don't have the orange firefox button in the top left corner. I also don't have the button for bookmarks. On every other machine that I've installed firefox 4 on has not had issues like this. I don't know why I'm having issues on my laptop. If there's a way to fix it, I would appreciate it. I don't mind how it is right now, but I do like the cleaner look and the orange firefox button, instead of the buttons that show up now that are labeled: "File, Edit, View, History, Bookmarks, etc."

    * You see the orange (on Linux gray) Firefox button if the Menu Bar is hidden (View > Toolbars > Customize or right-click a toolbar).
    * If you need to access the hidden Menu bar then press F10 or hold down the Alt key to make the Menu Bar appear temporarily.

  • In latest version of MF there`s missing button, which was in previous version: between buttons back/forward and the typing bar there used to be little flash, which showed few last pages I have just browsed. How can I restore it?

    In latest version of MF there`s missing button, which was in previous version: between buttons back/forward and the typing bar there used to be little flash, which showed few last pages I have just browsed. How can I restore it?

    If you mean the drop marker then you can still get the History of the Back and Forward buttons if any by either Left-Click and hold for a second or by Right-Clicking them.
    If you still want the drop mark there also then there is this Extension at https://addons.mozilla.org/en-US/firefox/addon/backforward-dropmarker/
    Also the abbreviation for Firefox is '''Fx'''

  • My i-tunes Wish List only shows the first page, it used to show all the pages- like the next page button is disconnected?

    My i-tunes Wish List only shows the first page- it used to show all the pages. Its a little like the next page button is disconnected?
    Any ideas?
    thanks
    Simon

    I would say all types. Any kind of document/ file that has multiple pages, I can't get to the next page.

  • Hi, i've just bought my first macbook pro, i just installed office mac and when i open the page i cannot see the minimise maximise and close buttons as it's hidden behind the apple menu bar, also when it's at full screen, those buttons do not appear

    hi, i've just bought my first macbook pro, i just installed office mac and when i open the page i cannot see the minimise maximise and close buttons as it's hidden behind the apple menu bar, also when it's at full screen, those buttons do not appear

    Try to edit the size of the page using the sides of the page, or if you are desperate, force quit using command-Q. In full screen put your cursor on the top of the page, and the menu bar will appear. If it doesn't keep "pushing" it up until it does. Hope this helps!

  • I have a friend who is not very savvy with computers. He works on a PC. (There may be versions for pc OS versions) I use a Mac-your website will not show the PC pages to me. How can I find the proper URL to embed in a button?

    I have a friend who is not very savvy with computers. He works on a PC. (There may be versions for pc OS versions) I use a Mac-your website will not show the PC pages to me. How can I find the proper URL to embed in a button?

    Try going to the following
    Tools->Web Developer-> Page Source.
    You can also access this by way of keyboard shortcut Ctrl + U
    The View Page Source option is also available via the right-click menu by just right-clicking inside the page window & it will be the penultimate menu item.

  • TS2972 why is the import button not showing at the button right hand corner of iTunes?

    why is the import button not showing at the bottom right hand corner of my ITunes page.  I am trying to transfer files from my home share library onto a new computers library.

    See if it isn't hidden under the View menu. iTunes- Turning on iTunes menus in Windows 8 and 7.

  • Hidden Pages

    I have a 15 page form that is broken into 4 sections. I also have 4 buttons for navigation to those sections. These buttons are located on the top of the Master pages. The problem I am having is that when I set the presence of one sections pages to hidden, the pages still show up but with only the navigation fields on top. I have also tried to put the navigation directly on the pages but still get blank pages showing up (4 pages with content and 11 blank pages). How do I set the presence of the pages so that it will only display the visible ones? Here is my code.
    xfa.form.form1.pPg1.presence = "visible";
    xfa.form.form1.pPg2.presence = "visible";
    xfa.form.form1.pPg3.presence = "visible";
    xfa.form.form1.pPg4.presence = "visible";
    xfa.form.form1.pPg5.presence = "visible";
    xfa.form.form1.fPg1.presence = "hidden";
    xfa.form.form1.fPg2.presence = "hidden";
    xfa.form.form1.fPg3.presence = "hidden";
    xfa.form.form1.oPg1.presence = "hidden";
    xfa.form.form1.oPg2.presence = "hidden";
    xfa.form.form1.oPg3.presence = "hidden";
    xfa.form.form1.oPg4.presence = "hidden";
    xfa.form.form1.oPg5.presence = "hidden";
    xfa.form.form1.sPg1.presence = "hidden";
    xfa.form.form1.sPg2.presence = "hidden";

    Hi,
    Use the instanceManager to remove / hide pages:
    form1.page_2.occur.min = "0";
    form1.page_2.instanceManager.removeInstance(0);
    Replace
    form1.page_2 with the somExpression to match the page to hide.
    Instead of
    form1.page_2.instanceManager
    you can also use
    form1._page_2
    But I don't like it because variables beginning with an underscore imply being global variables. Which they apparantly aren't in this special case.
    Regards,
    Steve

  • Boolean Controls on a Hidden Page in a Tab Control

    Hello everyone. 
    I am having some issues with a tab control in a fairly complex program put together by another (more experienced) developer. The basic setup for this tab control features several tabs to control various aspects of a system (motor setup, video setup, general parameters, etc.). Going to a specific tab and pressing Ctrl-F8 brings up a password prompt, which then displays the "Advanced" menu. The advanced menu is a hidden page within the same tab control. The advanced menu contains several Boolean controls that allow access to the various advanced setup features (these pages are also hidden pages on the same tab control), however, none of the Boolean controls are functioning. Clicking on the controls does not cause the buttons to appear pressed, either when running the program as a compiled executable, or while on the front panel of the VI in LabView. The hidden pages also appear as dark grey. I have confirmed that the same is true for all of the hidden pages within the tab control. I believe that my issue is with the version of LabView that I am using. The program was designed in 8.0, whereas I am currently using 8.2. I have not been able to find any references to such an issue between the versions, and I am somewhat at a loss as to how to correct it. Version 8.2 is the only version I currently have access to, otherwise I would use version 8.0, to see if that corrects the issue.  Programs that were compiled previously by the original designer do function properly (hidden pages, when displayed, still appear dark grey), but even compiling the unmodified source code results in the same problems for me. 
    Any help that you could offer would be greatly appreciated. P.S. I would be addressing these problems with the original designer, but he is currently on vacation for a month and I wish to get this resolved.  
    Solved!
    Go to Solution.

    jack47 wrote:
    If a page in a tab control is hidden it will appear 'dark grey', and all of the controls on that page will behave as if they are disabled.  If you 'right-click' on the page name, and select 'Advanded->Show page' it will turn light grey.  Now you should be able to change the controls when the VI is not running.  If the page is shown during operation and the controls still do not function they are probably disabled.  You can check by 'right-clicking' on the control and going to 'Advanced -> Enabled State'.  Also it is possible that they are disabled programatically using a property node.
    I am leaning towards this as the issue, at the moment. I just find it very odd that the controls work in the 8.0 compiled program, but not my 8.2 compiled version.
    I will have to show/hide each page when it is accessed/left.

  • Documents from Mac added to iCloud do not show up in Pages on iPhone 4S

    Synopsis: Dcouments added to iCloud through Safari on Mac do not show up in Pages on iPhone 4S. New documents created in Pages on iPhone do not show up in iCloud. I expect the doucments to appear on my iPhone soon after uploading them from my Mac to iCloud through Safari, and to appear in iCloud soon after switching to the document listing in Pages and leaving the app. Several hours passed by without transfer happening, and I have waited a day and reconnected to Wi-Fi to wait several more hours. Still nothing shows up either in Pages on iPhone, or in iCloud in Safari on Mac. They are listed with their sizes and extensions (.pages or .pages-tef) in the iPhone Settings > iCloud > Storage & Backup > Manage Storage > Pages, though they don't seem selectable from there.
    Software versions and Settings:
    Mac
    Mac OS X 10.7.2 (Lion)
    Safari 5.1.1
    Pages 4.1
    System Preferences > iCloud: signed in; everything selected, except Photo Stream (no iPhoto).
    Everything seems to work, except Find My Mac is flakey.
    iPhone 4S
    iOS 5.0
    Pages 1.5 (417) [no other iWork apps]
    Documents:
    the defualt "Getting Started";
    a test document with default name "Blank" and content with the word "Testing", shown with upwards arrow in upper right corner; tried renaming to "Just testing", no transfer resulted.
    Plus button + offers: Create Document; copy from iTunes, iDisk, WebDAV; no iCloud (probably because it's supose to be auto);
    Settings > Pages:
    Use iCloud: ON
    Restore: OFF; I have tried this, it automatically turns itself off after restarting Pages. No obvious changes result in Pages.
    Settings > Wi-Fi: ON, connected to a network; tried several networks around town, as well as at home with a Time Capsule router.
    Settings > iCloud:
    everything ON, except Photo Stream;
    Documents & Data:
    Documents & Data: ON
    Use Cellular: ON; also tried OFF initially.
    Storage & Backup:
    Manage Storage > Pages:
    three documents in iCloud are listed, one of which I had created before iCloud on iPhone 3GS, and deleted from iPhone 4S after documents added to iCloud from Mac weren't showing up as expected;
    their sizes are given;
    suffixes are .pages for the two created on Mac, and .pages-tef for the one created on iPhone 3GS (before iCloud);
    iCloud Backup: ON; successfully backs up everyday;
    Email works, contacts are synced, calendar works, and everything seems fine except access to documents.
    Approaches:
    Software updates
    Updated all software, no further updates available. Please confirm with aforementioned version numbers.
    Add and Remove Documents
    Used Safari to add two documents to iCloud with its menu for Pages of iCloud's iWork section, one at a time. Documents were originally created in Pages on Mac, and continuously edited since then. Explicitly saved documents (Save a Version on Lion) before uploading. Documents appeared listed in web page without problem.
    Have tried deleting a document on iPhone that was originally created with Pages on iPhone 3GS prior iOS 5 as a way to jog the listing on iCloud. Listing on iCloud in Safari on Mac continues to show document deleted from iPhone. [Before deleting document, I had updated iPhone 3GS to iOS 5 and signed into iCloud a couple days before getting iPhone 4S, then immediately used the restore from iCloud feature for the iPhone 4S in the Apple retail store, updated all apps on Mac and iPhone, then deleted the document in Pages on iPhone.]
    On iCloud in Safari on Mac: deleted the two documents uploaded from Mac; added the same documents again; edited documents on Mac, then uploaded and chose "Replace documents"; removed documents again; added them again. Never showed up in Pages on iPhone, even after waiting a day.
    Have used iTunes to add the same documents to Pages on iPhone. Successfully opened documents in Pages on iPhone through plus button + > Copy from iTunes. Deleted documents from Pages's document listing, though they remain in iTunes section.
    Removed documents of same name, though older copies, from Pages in iTunes for the iPhone.
    Created a new document with Pages on iPhone, simply added one word "Testing" and then switched to document listing. New document has name "Blank" and an arrow in the upper right corner indicating it will upload next time an internet connection is established. That hasn't happened regardless of being connected to Wi-Fi and cellular for several hours. Next day, reconnected to internet with both Wi-Fi and cellular, the new dcoument "Blank" still is not in iCloud when I visit the site in Safari on Mac, and still has the arrow in the upper right corner in Pages on iPhone.
    iPhone 4S Connected to Internet
    Connected to Wi-Fi several hours each day, and cellular all day except from about 10pm to 7am when I switch it to Airplane mode. Always connected to Wi-Fi and cellular when attempting to access the documents in Pages on iPhone.
    Restart iPhone and Pages
    Have double-pressed Home button on iPhone to reveal along the bottom of screen a list of apps currently open, touched and held an icon to reveal the close badge on all icons, and selected the close badge on Pages, waited a few seconds, then started Pages again.
    Have held On/Off button until "slide to power off" appears, then powered off iPhone, waited a few seconds, then held button again to start. Have done this with Pages either open or closed, per previous note. Still no change in document listing for Pages: test document still has not gone to iCloud, documents in iCloud still have not shown.
    I think the only thing I haven't done is a complete restore.
    Question: Can anybody point out what I might have missed or haven't tried that would get the documents from iCloud to Pages and vice versa?
    I'm not looking forward to several hours of restoring, but if I must…
    TIA

    Okay, I'm not sure what finally jogged it. It seems to be finally working.
    After downloading any documents I could from iCloud to my Mac, I deleted all the documents from iCloud. I also deleted all documents from Pages on iPhone, except the original "Getting Started" document.
    I duplicated the "Getting Started" document (Pages on iPhone) and edited it by moving the butterfly to the left on the same page, then switched to the Documents view. It had the arrow in the upper right corner of "Getting Started Copy", but no progress bar and nothing showed up in iCloud.
    Then, I think I went to Settings > Pages > Use iCloud: NO. Went back to Pages and got a dialog in the Documents listing:
         You are not using iCloud
    What would you like to do with the
         documents currently on this
                        iPhone?
    Keep on My iPhone
    Delete from My iPhone
    Continue Using iCloud
    I tried keeping them, then going back and turning it back on in Pages's settings, then going back to Pages. Finally something different happened: a progress bar on the "Getting Started copy" document. It never seem to finish, and would disappear if the phone went to sleep. I tried the whole sequenece again with same result, and nothing on iCloud.
    I then tried Settings > iCloud > Documents & Data: OFF, and agreed to "Turn Off Documents" and have all documents stored in iCloud deleted, because as far as I could tell there weren't any documents in iCloud at this point anyways. I went back to Pages and the "Getting Started copy" suddenly disappeared.
    So, I went back to Settings > iCloud > Documents & Data: ON, and did the same for Settings > Pages > Use iCloud: ON. Oddly, Pages now tried to download "Getting Started copy" even though it really shouldn't have existed anymore. I tried iCloud in Safari on Mac and saw there now was a document by that name, but when selected it said "Updating…" on it. I deleted it in iCloud, and it disappeared (I think, or I deleted it) in Pages on iPhone.
    I gave up and waited a bit, maybe an hour or two.
    I made sure all the settings were how they needed to be, noticed no documents in iCloud, and only the original "Getting Started" document in Pages on iPhone. I duplicated that document, and that's when it seemed to actually work. First, the arrow in its upper right corner appeared briefly, then a progress bar appeared on it instead, then the progress bar actually moved and completed. (I think. Some indicator happened. Everything is kind of fuzzy at this point while I'm writing this and juggling a couple other technical tasks.) Then I checked iCloud in Safari on Mac and the document was there. Wow.
    So, I immediately tried uploading to iCloud from my Mac the two documents I had been trying, one at a time. Each time the document succeeded in iCloud, it suddenly appeared in Pages on iPhone. In fact, the second document began to appear in the documents listing in Pages on iPhone just before the progress bar in iCloud completed.
    I tried opening each one in Pages on iPhone, and iCloud immediately updated each one with a preview and as downloadable. I downloaded them to the Mac and they opened fine. [Admittedly, the Pages version from iCloud of the "Getting Started copy" with the moved butterfly was a little different in Pages on Mac: it had the butterfly on the previous page underneath everything; the PDF version of that document had everything correct.]
    Anyways, the document listing between iCloud and Pages on iPhone is working now.
    I thinking it might have helped to clear out all the documents in iCloud and deleting all documents in Pages for iPhone. However, be sure to at least email copies from Pages on iPhone first if you don't have any backups. I think it might also have helped to turn off Settings > iCloud > Documents & Data: OFF, so it'll send that signal to delete the documents in iCloud, even if there's already nothing there. I don't know for sure, but that's probably the way to start from scratch. Oh, and maybe wait an hour or two after that before doing anything again, then turn Documents & Data: ON, and Pages > Use iCloud: ON, and then start by creating a new document in Pages on iPhone.
    I'm just glad I didn't have to do a Restore from iTunes. And now that it's working, it's so instant between Pages on iPhone and iCloud! This is seeming like it will definitely be great, now that it's working.

  • How can I create a form with a button that adds a new page of fields to fill out?

    Hi,
    I have a one-page form created in Acrobat Pro 9 that contains five fields for a user to complete. I'd like to give the user the option of adding a page with the same five fields to fill out. The user finishes those fields, presses an "Add a Page" button, and then gets another page to fill out, and so on. When finished, their PDF form might be 10 pages long, at which point the user can save it as a single PDF file. Is this possible to do in Acrobat Pro 9 or 10, and if so, how?
    Thanks,
    Andrew

    When I created a new template like you told me, I wasn't given the option to rename the fields. See screenshot below. I'm just given the option to add a new template. Changing it refers to changing the template to a different page.
    If you can show me how to have the fields renamed automatically or use the rename parameter, I think that should fix it.
    Under Tools>JavaScript>Document JavaScripts, I've added a Script named "PackagingArtwork".
    // Here is the code
    function PackagingArtwork()
    {this.createTemplate({cName: "PackagingArtwork", nPage: 5});
    // Here the code that spawns the template
    var PackagingArtworkArray = this.templates;
              var PackagingArtwork = PackagingArtworkArray[0];
              PackagingArtwork.spawn(this.numPages, false, false);
    This is what the JS debugger said.
    Acrobat EScript Built-in Functions Version 10.0
    Acrobat SOAP 10.0
    var t1 = createTemplate("t1", 0);
    var oXO = t1.spawn({nPage: numPages, bOverlay: false});
    while (numPages < 50) {
        t1.spawn({nPage: numPages,  bOverlay: false, oXObject: oXO});
    undefined
    [object CosObj=<<Stream>>]
    TypeError: PackagingArtworkArray is null
    2:Field:Mouse Up
    TypeError: PackagingArtworkArray is null
    2:Field:Mouse Up
    TypeError: PackagingArtworkArray is null
    2:Field:Mouse Up
    TypeError: PackagingArtworkArray is null
    2:AcroForm:Duplicate Packaging Artwork:Annot1:MouseUp:Action1
    TypeError: PackagingArtworkArray is null
    2:Field:Mouse Up
    TypeError: PackagingArtworkArray is null
    2:Field:Mouse Up
    TypeError: PackagingArtworkArray is null
    2:Field:Mouse Up
    TypeError: PackagingArtworkArray is null
    2:AcroForm:Duplicate Packaging Artwork:Annot1:MouseUp:Action1
    TypeError: PackagingArtworkArray is null
    2:AcroForm:Duplicate Packaging Artwork:Annot1:MouseUp:Action1
    TypeError: PackagingArtworkArray is null
    2:AcroForm:Duplicate Packaging Artwork:Annot1:MouseUp:Action1

Maybe you are looking for