Hiding pages

Hi,
Just a quick question.
I have a form in which one page is supposed to be hidden by default.When a user clicks yes on the first page of the form,the hidden page is supposed to be visible.If they click no,it remains hidden.I am using a template and cannot seem to get this working.Any help would be appreciated.
Thanks!!!!!

Whenever you are adding a page, it has the "hidden" option in properties, so you can use the same option to hide it. Whenever you want to make that hidden page visible, either on button action or using check marks, you can smilply call <whole xpath of the page>.presence=visible.
Thanks,
Sachin 

Similar Messages

  • Hiding Pages in ADOBE form using formcalc scripting.

    Hi Experts,
    I am new to ADOBE form and currently working on invoice print output. (NOT an  Interactive adobe form)
    My requirement is
    i wanted to print one main page and 5  different annexures(anexures are having different layouts so is in diff forms and contained in diff pages)
    Deppending on 'Oreder reason' (made as global variable)  , i need to select appropriate annexure and print
    main page and any one of the annexure.
    so i should hide all other annexure, to achive this i used formcalc scripting.
    i tried hiding annexure 2 by following code,
    data.Annexure2::ready:form - (FormCalc, client)
    if ( data.G_F_ORDER_REASON.rawValue == "ANX" )
    then $.presence = "hidden"
    endif
    i have passed value 'ANX' to this , i could see the value of order reason printed on page Annexure2 but it is not executing (getting in to if condition) condition and not hiding the page ...
    Experts please help me...
    this way i have to hide 4 other annexures...please help me or give me some other option to achive this.
    thanks and regards
    varun
    Edited by: skyblue on Aug 6, 2011 3:30 PM

    coding Formcalc is a pain.
    But you're doing the right thing by passing in a variable and hiding based on the content of it.
    Here's an example of where I'm hiding a subform on a page.
      if ( main_sf2.charter_only.CHARTER_DOC.rawValue eq "X" ) then
       main_sf2.pts_sf.presence = "visible"
      else
       main_sf2.pts_sf.presence = "hidden"
    endif
    Looks like your code is similar - try changing
    ( data.G_F_ORDER_REASON.rawValue == "ANX" )  to
    ( data.G_F_ORDER_REASON.rawValue  eq "ANX" )
    or instead of $.presence = "hidden"  fully qualify the name of your page to  data.Annexure2.presence = "hidden"

  • Hiding pages in iWeb?

    I want to hide, but not delete some pages from my iWeb site. I want to temporarily turn the pages off or unpublish them, is there a way to do this without deleting them? I'll want to use them again.

    This doesn't actually stop the pages being published, it may hide them depending on the site navigation. You can still go to the "hidden" web page if you know the address, i.e using a bookmark. A work around would be to hide and delete any links to the page or site and change it's name to something unlikely to break any saved bookmarks.
    I too would like to know how to really take a page off the web, i.e. "unpublish" it without deleting it.
    Message was edited by: Metalox

  • Hiding pages in Adobe Livecycle Designer Form

    I have a form with many pages.  I want page (1) active and visible.  I want all other pages invisible unless the corresponding sn field on page (1) is filled in.
    Example
    Page 1
    sn for page 2 entries
    sn for page 3 entries
    sn for page 4 entries
    etc
    page 2, page 3, page 4, etc should be visible only if something is entered in the sn field of page (1).  Like, "If sn for page 2 = null than page 2 "hidden".
    Can this be done?
    Sorry, new to livecycle
    Thanks!

    Hi All,
    I figured the solution. The Design View is the former Body Pages Tab. SAP has apprently dropped the Body Pages Tab in the newer version of LiveCycle Designer and called it the Design View.
    Treat the Design View as the former Body Page.
    Hope this helps.
    Cheers!
    Salil

  • Hiding Page 0 Items and Tree Node Links

    I have two issues I'm trying to work out:
    1) I have created a tree on page 0 that I want to appear on all of my REPORT pages, so the user can filter the reports regardless of which page they're on. The problem is that the tree is also appearing on the login page and the Home page. Is there any way to hide the tree on the login and home pages but have it appear on all other pages? I'm trying to avoid having to create the tree on every single report page.
    2) I need the tree to work like this: the user clicks any node in the tree, and all reports (on multiple pages) are filtered based on the node selected. So I don't actually want the nodes to be links to a report, I just want the reports to be filtered based on the node value selected. Then I'll have tabs to navigate between the different reports. Is this possible?
    Thanks.

    I dunno if you correct it, but there was small mistake in the JS code - a closing bracket was missing
    $s('P0_TREE_NODE', $(this.triggeringElement).parents('li:first').attr('id'));
    it looks like the node value IS being stored in the session stateI hope you checked for items in page 0 (it should then list down page 0 items including P0_TREE_NODE) when you searched for session state(it defaults to whichever page is run currently)
    If these two are working fine, it has to be some page process/computation/item source/item default that modifies the item value when you move between pages.
    To find this: Turn debug on, reload the page , click on a tree node, then redirect to some other page and then check the debug report and see if the page 0 item: P0_TREE_NODE is being set/reset/modified elsewhere.

  • Hiding Page While Checkbox Checked

    How do I hide a page while a CheckBox is checked, using Adobe LiveCycle Designer 8.0?

    I think, based on the date you can fetch the new data and old data.
    Use Struts multibox to display multiple check boxes.
    Have a TO object which should have name & newFlag then generate getter/setter
    When you loop the data in your business,
    ArrayList myList = new ArrayList();
    for(int i=0; i< ....; i++ ){
       MyDataTO dataTO = new MyDataTO();
       dataTO.setName(---.get(i).toString());
       dataTO.setNewFlag(false);
       myList.add(dataTO);                         
    }Then, when you display the data in your jsp,
    use logic:iterate and logic:equal
    if the newflag is true, check the box else don't check the box.

  • Can you specify which pages to publish and which not?

    Hi all, perhaps I'm overlooking it, but I'm making changes to my site. Currently some pages have been fully updated and others not. What I'd like to do is load the current pages that are finished, have them updated on my site, but the pages that are still being edited I'd like to have not uploaded. Is there a way to direct iweb to publish certain pages but not others? I'm hoping so b/c if not, it would seem as though it's written "all or nothing." That is, you finish every single edit you want before publishing. That would seem like an oversight as editing a site can clearly be an ongoing thing. I have pages I'd like to add, but they aren't ready for publishing, so I'd like to have them not publish. Anyone know of a way to do this? Thanks.

    If you are using the page template navigation menu, then simply hide the navigation links to the pages that are not finished. There is nothing you can do to stop iWeb publishing the pages, but if you hide them until they are ready, then they will be published, but not viewable without the links.
    The other thing that you can do is select Publish to MobileMe rather than Publish All to MobileMe. If you select Publish All, then your whole site will be published, however, if you select Publish, only the pages of your site that have been changed will be published.
    Hiding pages of a text based nav bar should also work. To do this, open the Inspector and go to Page and there are two settings that have hide nav menu and do not include in nav menu. You want the second one if you don't want to include the page.

  • Dynamically show/hide pages in a workset for special users at runtime

    Hi all,
    I want to create a workset that contains pages for different countries. The portal users should only be able to see the countries where they do business. I also would like masterdata from R/3 to drive the display of content on the portal.
    - Is there a way how I could dynamically show/hide certain pages of the workset for the specific users?
    - Would this showing/hiding of pages affect the workset for all users or only the instance for the specific user?
    - Would there be a difference when I want to dynamically show/hide iviews in a page instead of showing/hiding pages in a workset?
    Thanks a lot in advance.

    Hi Timo,
    Check out the article located at:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/ep/portal_content/filtering role and workset content.htm
    It talks to exactly what you're trying to do.  I'd imagine you could extend this simplistic example to have the service pull the users country from his/her master record in R/3 and set their filtering expression accordingly.
    Hope this helps,
    Marty

  • How can I hide the master page when saving a pdf?

    I designed a form that uses a master page so that I can use headers and footers without changing 10 different pages.  When I save to PDF so the form can be filled out it saves the Master Page as the first page though it has no content.  I have to save the PDF as a static file because it needs to be filled out on the iPad.
    Anyhelp please?

    Hmm,
    Not really. Acrobat must display at least one page of the form. You can set the presence of all of your Design Pages to hidden, but Acrobat will display at least one instance of the Master Page.
    The Master Page is available in LC Designer for objects that you want to repeat on more than one page. Yes, typically this includes header and footer objects.
    If you want to hide all of your main form pages, then include a blank page and display this when hiding all of the other pages. See an example here: http://assure.ly/frjYW5.
    There is also an example here for displaying/hiding pages on a loop: http://assure.ly/kyMP6l.
    Hope that helps,
    Niall

  • Form automation with PDF's created in Livecycle

    Hi,
    I'm having a issue getting the fields from a PDF file created in Livecycle. I get the following error once I access a field:
    Element not found. (Exception from HRESULT: 0x8002802B (TYPE_E_ELEMENTNOTFOUND))
    Is it possible to use the OLE API's to retreive the fields in the Livecycle form? Here is the code in question:
    Public Function FillForm(ByVal patient As clsPatient, ByVal isNew As Boolean, Optional ByVal CompletionDate As Date = #1/1/1900#) As String Implements iPDFProcess.FillForm
    Dim ds As New DataSet
    Dim dr As DataRow
    Dim NewFile As String
    Dim formApp As AFORMAUTLib.AFormApp
    Dim bOK As Boolean
    Dim avDoc As Acrobat.CAcroAVDoc
    Dim pdDoc As Acrobat.CAcroPDDoc
    Try
      'Set the mouse icon to display an hourglass
      System.Windows.Forms.Cursor.Current = System.Windows.Forms.Cursors.WaitCursor
        If isNew = False Then
            ds = GetData(PatientId, CompletionDate)
            If ds.Tables(0).Rows.Count > 0 Then
                dr = ds.Tables(0).Rows(0)
            End If
        End If
        avDoc = CreateObject("AcroExch.AVDoc")
        bOK = avDoc.Open(lTemplateFileName, "NB")
        avDoc.Maximize(1)
        formApp = CreateObject("AFormAut.App")
        If isNew = True Then  'Only fill Demographic data
            formApp.Fields("PatientId").value = patient.PatientId
            formApp.Fields("DateCompleted").value = Format(Now(), "M/dd/yyyy")
            formApp.Fields("PatientName").value = patient.LastName & ", " & patient.FirstName
         end if
         The rest of the code is not shown to save room.
    As soon it tried to access a field I get the above error. I also have a problem with the following code in another section of my code (for another PDF form). Here is a segment of the code:
        avDoc = CreateObject("AcroExch.AVDoc")
        bOK = avDoc.Open(lTemplateFileName , "NB")
        avDoc.Maximize(1)
        formApp = CreateObject("AFormAut.App")
        acroForm = formApp.Fields
        If isNew = True then
            For Each f As AFORMAUTLib.Field In acroForm
                Select Case f.Name
                    Case "PatientName"
                        f.Value = patient.LastName & ", " & patient.FirstName
                    Case "Gender"
                        f.Value = patient.Gender
                    Case "DateCompleted"
                        f.Value = format(Now(), "M/dd/yyyy")
                    Case "PatientId"
                        f.Value = patient.PatientId
                    Case "DOB"
                        f.Value = patient.BirthDate
                End Select
            Next
        Else
    It always passes right over the loop as it it can't find the fields. What up with that. Thanks for any help that you can provide.

    Apparently the IAC api's will not work with livecycle forms. I just recreated the pdf file in Acrobat alone, and it now works. But this leaves me with other issues such as:
    1. How can I represent a Date picker field?
    2. A few of our forms created in Livecycle use dynamic forms. I.E. Hiding pages until a checkbox is selected for example. Is it possible to get similar results with just Acrobat/reader?
    Thanks for any suggestion or comments.

  • Acrobat Pro 9.4 Problems

    I am having several problems with my Acrobat Pro. When I am adding pages to a document, (dragging and dropping from explorer) the pages pane is hiding pages where I can't get to them. If I have 11 pages, and the page pane set to see two pages at a time, the 11 page will be just barely peaking out at the bottom but the scroll bar won't go down any further. I can't place pages at the end of the document cause I can't see the last page.
    Also, it keeps adding multiple drawings backwards....... if you grab documents 1 - 5 in explorer, drag and drop them into acrobat, acrobat drops them 5-1.....
    It didn't use to do this. It has been doing it for a couple of months. I am on a fresh install of the whole computer so it is not corrupted software. It has to be in one of the last updates. There has to be a way to fix this.
    Thanks

    Any idea about the backwards thing?

  • Email submit button(s) help

    I have a 5 page form and I need each page to go to a different email adress.  I have put a different email submit button on each page, but is there a way to script the button to only send the current page and not any of the others?  Or have one main email submit button that sends each page to a different email address?  I am new to Adobe LiveCycle Designer ES, but I have a (VB) programming background, so it seems like it should be possible with code  Thanks
    Adobe LiveCycle Designer ES ver 8.2

    Hi,
    The submit by email function will attach the complete form to the email. It cannot (afaik) split a form into five different PDFs.
    However there are workarounds.
    If you save the form as a Dynamic XML form in the save as dialog, then you can show and hide pages.
    Here is an example of a form that changes the presence property of pages, depending on the choice selected from the dropdown.
    http://www.assuredynamics.com/index.php/category/portfolio/showing-and-hiding-pages/
    When it comes to something like this it is helpful to split the script. The mouseUp event fires before the click event.
    For example for the email button on page 1, you can modify the script in the example to hide each of the pages 2-5 in the mouseUp event and then in the click event have the email script. In the postSubmit event you could have script to show all the pages again.
    A word of caution - if the user has Reader then the form needs to be Reader Enabled, otherwise the submit as PDF will fail silently.
    Hope that helps,
    Niall
    Assure Dynamics

  • Button to open file

    I would like to include a set of instructions in my form.  My thought was to include a help button, that when clicked would open up a separate file containing the work instructions.  I have 2 questions.
    1.  How can I include the work instruction file within my form (I prefer the file to be hidden).  I can have the instructions in ppt or pdf format.
    2.  What would  be the code required to open the file when the help button is clicked.
    Thanks!  This forum has been a great help.

    Hi,
    This topic was discussed just last week. If you have a look back a few pages you should find it.
    However if your form is already saved as a Dynamic XML Form, then I would recommend an alternative approach.
    Create one (or more) pages at the end of your form.
    Place all of your work instructions on this page(s).
    Include a "Hide this help" button on the page.
    Set the pages presence to hidden.
    Then your "Help" button would set the page presence to visible and set the focus to that page.
    This way you keep the form and the instruction together in one place.
    Here is an example of showing and hiding pages from a dropdown: http://assure.ly/iWzzPg. Hopefully you can take the concept and apply it to your help page and buttons.
    This one uses a loop and a kinda of tabbed view: http://assure.ly/kyMP6l.
    Hope that helps,
    Niall

  • CustomActions not working with ToolbarType=None

    Hi, I created multiple Ribbon Custom Actions for a SharePoint 2013 Document Library. They are placed in the "New" group and everything works fine so far. One of these actions is a custom upload action and I want users to upload documents using
    only this action. In the background there also is a EventListener that verifies that.
    So that users are not confused I removed the default upload action by overriding it via another CustomAction. Of course I also want to remove the "New Item" link and the Drag&Drop zone. This would be done very easily by simply setting the ToolbarType
    of the ListView/WebPart to None, BUT when I do so, the Ribbon renders as default! My custom actions do not appear anymore and the actually overriden actions are back again. This seems like a sick bug to me or is there any logic behind that?
    Of course there are other options to hide the ToolBar, i.e. using JSLink, but this would not match my understanding of using JSLink. A custom XSL and overriding the toolbar template would be fine for me as well, but I have bad experiences with that. Even
    when using a very simple XSL like the following one, makes the list not look and behave like a default view:
    <xsl:stylesheet xmlns:x="http://www.w3.org/2001/XMLSchema" xmlns:d="http://schemas.microsoft.com/sharepoint/dsp" version="1.0" exclude-result-prefixes="xsl msxsl ddwrt" xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime"
    xmlns:asp="http://schemas.microsoft.com/ASPNET/20" xmlns:__designer="http://schemas.microsoft.com/WebParts/v2/DataView/designer" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt"
    xmlns:SharePoint="Microsoft.SharePoint.WebControls" xmlns:ddwrt2="urn:frontpage:internal">
      <xsl:import href="/_layouts/15/xsl/main.xsl" />
    </xsl:stylesheet>
    Using this XSL I would expect the list to totally look and behave like a default view, but it doesn't. Under the import section I would like to add the overwrite template for the toolbar. What am I doing wrong here? Is importing the main.xsl the wrong starting
    point?
    Many thanks in advance!
    Regards
    MH

    Hi,
    According to your description, when setting the ToolbarType=None to hdie the “new document or drag files here” button, the custom actions in Ribbon disappear, you
    want to display your custom actions as well as hide the Toolbar.
    As a workaround, I would suggest you apply custom CSS style into the page to hide the Toolbar.
    In my environment, the HTML source code of the Toolbar like this:
    I hide it by applying such a CSS style in the page:
    More information about hiding page elements using CSS:
    https://kitt.hodsden.org/blog/2013/07/5_ways_hide_element_css
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • How to add and develop eCommerce to a live BC site.

    Hi
    I have an exsisting live BC site http://www.alchemiststea.co.uk/ and want to continue developing it by adding ecommerce to it.
    I want to develope and share the site progress with the client without publishing to the live site untill development is complete.
    I can see that I have the option of hiding pages and areas untill ready for publishing but I cant see how I would then be able to view or share the site in development.
    What I really want is two versions of the site a live version and a development version. I can see that I could make a copy of the existing site and start a new BC trial version which I could copy back in to the live version's location (exsisting BC hosting) once complete. But this still seems a little cack handed and I'm concerned that it may not work as I would then need to manually add products, blogs news items etc as these would not copy over with the site.
    Could anyone advise what best practice would be for this? Is there a magic button I'm missing?
    Many Thanks
    Cas

    Hi Cas
    You could put all your new pages in a Secure Zone, an area of the website that requires a user name and password. Once you have the site ready to launch, you can simply remove the Secure Zone for those pages.
    Here's a quick 'how to' example:
    To create a Secure Zone, first go to the Site Manager (left side menu in Admin) > Pages and create a new page. You can use this new page as the initial landing page once a user logs in (it could have links to any pages you are developing - a kind of handy place to put notes too for the client previewing your work in progress).
    Next select Site Manager > Secure Zone. Add a new Secure Zone. Give it a name, like 'Development', and select your new landing page.
    When you create a new web page for your client, you can add it using the Site Manager > Secure Zone > (name of your secure zone) > add pages to Secure Zone.
    In the case of dynamic pages (like a catalog or product page) you would put links to these pages inside a page that is within your Secure Zone. Note that you can also use templates with Secure Zones. I'd suggest you use a duplicate copy of your site template for this so you can put links in the menu specific to the Secure Zone, like a link to a catalog or product page.
    Next you will need a login page to access the Secure Zone. Create a new page for this and insert the Secure Zone login module from the Modules toolbox menu on the right of your Admin > Pages > editing.
    Final part is granting access. In the Admin menu (right side) select CRM > Customers > Add Contact (if the user is not already in the CRM).
    Once the customer is selected, choose Subscriptions from the tabs just below their name. Then check the box listed under Secure Zone.
    Still in the CRM with that customer, select Details from the tab just below their name, if there is no user name or password shown, you can add one (click edit).
    Hope that helps.
    - Simon
    www.dotsilo.com

Maybe you are looking for