Hiding a master page based on condition

Hi All,
I have created a form which has data on odd pages and some terms and condition on the back pages(even) pages. I am using Adobe Livecycle Designer ES version 8.1.2
For this I created 4 Master pages.
FirstPage - Pagination -> Odd/Even - > Odd (front) pages
                                   Placement -> First Page (in Page set)
Front Page - Pagination -> Odd/Even - > Odd (front) pages
                                   Placement -> Rest of pages
BackPage - Pagination -> Odd/Even - > Even (Back) pages
                                   Placement -> Rest of pages
Dummy - Pagination -> Odd/Even - > Blank page
I dragged the content area of back page on the dummy page.
This set up works fine for printing.
I have additional requirement of archiving, emailing and faxing. While sending a email or fax or archiving, the data should be continuous, the 'BackPage' master page should be removed otherwise they show in alternate pages as blank pages even if i set the presence property to 'visible(print only)' .
Are there any settings which can be done to remove the master pages that are not needed based on a codition. Or can we achieve it through scripting.
Regards
Neha

Hi Otto,
I will try explaining the scenario...
The form has to support back side printing and will be archived, sent by mail and by fax.
The main content of the form will be on the front pages only and on the back side of the first page, the terms and conditions are printed.
the rest of the back pages remain blank.
Following the solution in the link below:
ADOBE: How to print a table only on uneven pages and a text on the back?
MasterPage -> Object pallete -> Page set -> Printing -> Print on both sides.(choosing this does not allow to set the occurance)
I created 4 master pages.
FirstPage -      Pagination -> Odd/Even - > Odd (front) pages
          Placement -> First Page (in Page set)
          Content area -> C1
Front Page -      Pagination -> Odd/Even - > Odd (front) pages
          Placement -> Rest of pages
          Content area -> C2
BackPage -      Pagination -> Odd/Even - > Even (Back) pages
          Placement -> Rest of pages
Dummy -      Pagination -> Odd/Even - > Blank page
          Content area -> C3 (Dragged the content area of BackPage to the dummy page)
I only have one Body page for now for the content and have put the terms and condition on the 'BackPage' master page itself as a text.
(If I create a Body Page for the terms and condition (so that I can set its visiblity property) and I try to assign the content area of 'BackPage' (now on dummyPage) the designer shuts down with an error.)
This works fine for the print set up.
Now when I save the form, after each front page a blank page is inserted.
I would like to remove this blank page.
Is there any other way to have content on front pages only and print certain text only at the back.
Please help.
Regards
Neha

Similar Messages

  • Change Master Page based on Text Content

    Hello,
    I have found a few examples relating to changing Master pages based on Style.
    However, I would like to change all Pages that flag "True" with the query of the "2-1134" to to "Master-C" for example.
    I have 12 master Pages with different strings that I don't mind editing the script to make work.
    The document is close to 1,000 pages.
    I am having trouble merging so many different scripts into something that will work.
    Platform: Indesign CS4 6.0.5 - OS X (Intel)
    Thank you so much for your input, help and guidence.

    This is what layers are for. Open the Layers panel and make at least one more layer. Put the graphic on the lower layer and the footer on the upper layer.

  • Dynamically Hiding a Master Page

    Dear All,
    I have two master pages.
    Is it possible to hide the master pages dynamically?
    If by FormCalc/javascript, kindly embed the code.
    Regards,
    Prosenjit.

    You can hide the master page depending on any condition you have. But there is one clean rule. If your master page doesn't want to get printed then content area of that master page should not contain any data. It means even if you hide all the data in the content area, your whole master page ( including its instances i.e overflown pages) will be hidden.
    For that you have to create a text field in your layout and drag and drop it in the content area of the master page which you want to hide. The text field acts like a flag whether or not to hide the master page. If 'X' then hide. Else do not hide. The value of the flag field will be decided while coding in the interface itself based on your condition. Then wrap the data of the content area including your flag field in a sub form. Do not forget to hide the flag field after wrapping it in the sub form because you don't want to show this on the page if that page is displayed by any chance.
    Finally click on the whole wrapped sub form. Write below Form calc script in events Initialization, Form Ready and Layout Ready.
    Here the HIDEPAGE_FLAG is nothing but your flag field.
    if ( $.HIDEPAGE_FLAG == "X" ) then
    $.presence = "hidden"
    endif
    This code hides your whole sub form . It means there will be no data shown in the content area and the Adobe framework doesn't print that specific master page(and all its instances). :-)

  • Master page based on master

    Hi everyone,
    I have a master page that contains just the footer information for a publication I'm working on. I then have a second master that's based on the first master. On this second master I've created a large colored graphic rectangle that fills the entire page. Since it's covering the entire page, I can no longer see the footer beneath (ie. the one that's on the first master page). The only way to have the footer appear above the rectangle is to override the footer and then bring it to front. This though, defeats the purpose of having the footer on a separate master. Since there will be a lot of other secondary masters based on the first master with the footer, I wanted to keep the footer information intact so that I could revise just one footer and have all the other masters based on it, update automatically.
    I wondered if anyone knows of a workaround for this problem?
    Really appreciate any help.

    This is what layers are for. Open the Layers panel and make at least one more layer. Put the graphic on the lower layer and the footer on the upper layer.

  • Adobe form Master page hiding

    Hi Experts,
    I am new for adobe form i have developing one form that is having 2 master pages. if the line items less then 4 i have to display them in 2end page (items displaying second page is working fine but still the 1st page displaying with empty table )in this case the 1st master page should be hide. How to do that please help me on that...

    Hello Krishna Reddy,
    Please find the below links as helpful.
    Dynamically Hiding a Master Page
    Hiding a master page based on condition
    hide a page
    Hide/ Delete of the MASTER Page in adobe forms
    Reward, if helpful.
    Regards,
    Shankar Narayana Reddy Ramigani

  • Hide Master Page

    Hi Folks,
    I have a page with fields in design view, which is placed in the content area of the master page.
    Now, i want to hide this page based on a condition. I am following the below steps to hide it.
    I am writing the below code in the design view page (initialization event, form ready event).
    if ( $.HIDEPAGE_FLAG == "X" ) then
    $.presence = "hidden"
    endif
    The fields present in the design view page are hidden, but I am getting a blank page. I am not able to hide this blank page.
    Can you guys tell if i am missing anything here/how do i hide this blank page ?
    Kind Regards,
    Chaitanya

    Hi Chaitanya,
    Instead of hiding the master page, dont trigger it.  Please find below link, which is used for dynamically trigerring master pages using subform property
    Using Subform to trigger Master Pages dynamically
    If you have only one master page and you dont want to trigger it.. while trigerring form from driver program, don't execute it based on the condition and just print a message accordingly.
    Please let me know, if you see any issues in above procedure
    Thanks,
    Rakesh

  • Custom master page applying on Publishing site template not in my site template?

    Hi,
    i have created a custom master page based on Publishing template Using Design manager (means converted html to aspx page) and then set all other control on the master page. now problem is master page applying only on Publishing site template not my site
    template. any one know why its happening, and how can resolve this issue?
    Thanks
    Mohammad

    Feature Stapling may be a solution - Please check -
    http://sharepointologic.blogspot.in/2013/04/branding-sharepoint-2013-my-sites-with.html
    http://www.codeproject.com/Articles/42129/Creating-branded-my-site-in-sharepoint
    Thanks
    Ganesh Jat [My Blog |
    LinkedIn | Twitter ]
    Please click 'Mark As Answer' if a post solves your problem or 'Vote As Helpful' if it was useful.

  • How to change the master page and theme dynamically in sharepoint2013 anonymous site

    hi
    I have to change the master page and theme dynamically in sharepoint2013 anonymous site. i have to show one master page to authenticated user  another master page to anonymous user through code
    Srinivas

    Hi Srinivas,
    According to your description, my understanding is that you want to change the master page and theme dynamically based on the anonymous users or authenticated users.
    Per my knowledge, there is not an OOB way to change the master page and theme dynamically.
    SharePoint is based on Asp.net, as we know Asp.Net request processing is based on pipeline model, so we can delevlop a custom HttpModule to dynamic change the master page based on current logon user profile(using SP Object Model to get).
    Another solution could be to use the SecurityTrimmed control that injects the CSS depending on global user permissions, more information, please refer to
    it.
    Some similar posts for your reference:
    http://social.msdn.microsoft.com/Forums/office/en-US/c2b2d0da-c752-4aea-9c2d-e31a5b1a2988/sharepoint-2010-dynamic-masterpage-based-on-userprofile-property
    http://johanleino.wordpress.com/2011/10/20/using-a-different-master-page-for-authenticated-users-in-sharepoint/
    http://sharepoint.stackexchange.com/questions/21679/how-can-we-use-a-different-masterpage-for-annoymous-and-authenticated-users
    http://sivarajan.me/post/How-to-customize-the-SharePoint-2013-Master-Page-for-Anonymous-Users
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • Is it possible to make master pages with several  title in one file? & Can I define page range from

    Is it possible to make master pages with several  title in one file? & Can I define page range from which page to which should be specific title?

    While the number of master pages is not unlimited, you can have quite a few in any file. I've never seen the limit documented, but it's in the hundreds, or more likely thousands. There is, I believe, a page limit of 9999 pages per document, but I don't know if that includes the masters or if they are counted separately.
    You can choose a page range in the Pages panel, then assign a master to them manually, and I beleive there are some scripts floating around that can assign a master page based on the appearance of a paragraph style (for chapter start pages, for example).

  • Calling different pages in a single sap script based on conditions?

    Hi All,
             Can anyone please give me an example of how to call different pages in a single sap script based on condition. Eg., i need to call 5 differnet pages from a single sap script based on 5 company codes.
    Please help
    Regards
    Priya

    This approach to make call from SAPscript. Its concept is similar to make call to a subroutine in another program. I would presume you understand how to use USING and CHANGING parameter. =)
    SAPscript -
    /: Perform get_date in program z_at_date
    /:    using &p_year&
    /:    changing &new_date&
    /: endperform.
    program z_at_date -
    form get_date TABLES rec_in  STRUCTURE itcsy
                                    rec_out STRUCTURE itcsy..
    DATA:
       v_year type char10.
    sap script and subroutine uses itcsy structure to transmit parameters
    first parameter is incoming while second parameter is out going
    their function is like an internal table with header line
    all data types between SAPscript and subroutine are string.
    so, you might need additional conversion.
    read incoming parameter with exact name from SAPscript
      READ TABLE rec_in WITH KEY name = 'P_YEAR'.
      IF sy-subrc EQ 0.
        v_year = rec_in-value.
      ENDIF.
    to return value, use the exact name on the second structure
        CONCATENATE v_year v_year INTO v_year.
        READ TABLE rec_out WITH KEY name = 'NEW_DATE'.
        IF sy-subrc EQ 0.
          rec_out-value = v_year.
          MODIFY rec_out TRANSPORTING value WHERE name = 'NEW_DATE'.
        ENDIF.
    endform.
    Hope this helps =)

  • (Js)(CS3)Export PDF Based on applied master page

    Hello folks
    Is there any way to export indesign document in various PDF file which will be based on master page applied. however i had export pdf code with me but not for various PDF from one document at windows. any help would be appreciated
    cheers as always
    Thanks

    Depending on your needs, you might be able to loop through all the docs
    in the book, and apply the A Master a to all blank pages.
    That would be an option. But is it not possible to insert a master page instead of a blank page while updating a book?

  • Hiding current page only seems to make invisible or shows view of master page?

    I have a button that is as follows:-
    runs a few validation checks blah blah then ......
    else
    this.resolveNode("Page3").presence = "visible";
    xfa.host.currentPage = 3;
    this.resolveNode("Page1").presence = "hidden";
    So on click it goes to page 3 - that's fine, but it only seems to set the current page to invisible, as it leaves behind a blank page/master page to view?
    I have tried to include
    xfa.layout.relayout();
    but this has no effect.
    If i place a similiar button hiding Page1 outside Page1 then there is no problem, it hides and is taken right out of the form as i am hoping with the button sitting inside page1.

    Rick, thanks for thinking of that setting; however, we've already left "Fade Out on the Last Slide" de-selected, so that's not the issue.
    It seems that on the last slide, the "rest of project" objects endure only for the number of seconds of that slide; for example, if a slide's duration is set to 3 seconds, the "rest of project" objects fade away after 3 seconds; however, nothing else on the page fades away; that is, the images and captions set to "rest of slide" continue to display.
    Jan

  • Call browser based css file in Design Manager master page

    I created a sharepoint 2013 master page from design manager and now i want to add a reference file to call a css file when the site is opened in internet explorer 8,i called the css file in my master page as below
     <!--[if IE 8]>
      <link  href="/Style Library/MyProject/css/mydefaultstyle-ie8.css" rel="stylesheet" type="text/css"/>
    <![endif]-->
    but when i open the site in internet explorer 8 ,i does not load the above css file,can anyone point me to the right direction how i should call the css file for certain browser like internet explorer 8 in master page which is created through design manager 

    Check if below helps
    http://jussionsharepoint.com/targeting-multiple-browsers-and-devices-in-sharepoint-2013-using-device-channels/
    <!--[if IE 7]>
    2: <link rel="stylesheet" type="text/css" href="/_layouts/JussiOnSharePoint/IE7hacks.css"/>
    3: <![endif]-->

  • How can hide the buttons based on condition

    Dear all
    I have to hide the button based on condition
    When I open the third page directly I want to hide that button
    When I open the third page via first and second page I need to visible that button
    I pass spell parameter from first to second and second to third
    In third page I get the value using pagecontext
    I write the code in third page co
    If I go directly third page it is null
    If I go to third page via first the value is Y
    If(“Y”.equals(pmode))
    OASubmitButtonBean btn =( OASubmitButtonBean )webBean.findChildRecursive(“<id>”);
    If(!btn=null)
    btn.setrendered(true);
    else
    btn.setrendered(false);
    but the button is not hiding
    Regards
    Sreekanth

    Hi Srikanth,
    I have modified ur method:
    OASubmitButtonBean btn =( OASubmitButtonBean )webBean.findChildRecursive(“<id>”);
    If(btn !=null)
         If(“Y”.equals(pmode))
         btn.setrendered(true);
         else
              btn.setrendered(false);
    Thanks,
    'Kumar
    Edited by: Kumar Kovela on Aug 3, 2009 5:53 AM

  • Load different css for one master page in different variation labels

    Hi
    i have two variation label in my SharePoint 2013 site collection
    one for English language 
    and one for the Arabic language 
    i have used the twitter bootstrap so now i have one master page and one style file for the two sites
    i need to load custom css for Arabic to handle the RTL so how can load English style and Arabic style 
    should i use cssregistration and how 
    or any suggestion please :)

    Hi,
    We can use jQuery to add the css file based on some conditions, the following code for your reference:
    <script type="text/javascript" src="http://code.jquery.com/jquery-1.11.2.min.js"></script>
    <script type="text/javascript">
    $( function() {
    if ($("#label1").val()== "English") {
    $("<link href='css/custom-en.css' rel='stylesheet' type='text/css' />").appendTo('head');
    } else if ($("#label2").val() == "Arabic") {
    $("<link href='css/custom-ar.css' rel='stylesheet' type='text/css' />").appendTo('head');
    </script>
    Best Regards
    Dennis Guo
    TechNet Community Support

Maybe you are looking for

  • HT1386 my iPhone will no longer sync with iTunes.  running a pc with win 8/64bit

    why won't my iPhone sync with iTunes?  i'm running latest version of iTunes on a PC OS Win 8/64bit?

  • How can i transfer ALL my apps and music back to itunes

    idont know how to transfer all my apps and music back to my itunes after my friend wiped the computer out. HHHHHEEEEEEEELLLLLPPPPP

  • Connecting macbook pro to HP Envy 110

    I have been trying to link my macbook to HP Envy 110 for weeks now. Initially i managed it by uding the IP address as the printer never appeared in the set-up wizard. However, the next time I tried it, the IP address had changed on the printer but th

  • Report Painter GRR1, no returning values

    Hello, I'm creating a report using report painter (GRR1). I need to do a Balance report, so i've been creating set's for GL account ranges. For example: Set 1: from: 2781174000     until: 2781176999 Set2:  from: 4300000000     until: 4399999999 I'm b

  • JTable renderering/binding

    I have a couple questions: 1. I need to put buttons in some of the cells... add/copy/delete that particular row. how do you track what row button was clicked? so i can access that data in my tablemodel and update the db. 2. how do you bind jtable edi