Multiple Master pages in a form

Hi All,
I am developing a 10 paged form in adobe LiveCycle Designer. I need the first page to have the page number as 1of 1, Second to 6th page to have numbers 1of 5, 2 of 5...5 of 5,Seventh page to have no number and the last three pages to have numbers 1of 3, 2 of 3 and 3 of 3.
Please help me in doing this with MASTER PAGES. All replies are appreciated.
Thanks in Advance,
Rajesh Ravindran

Place a text field on master page and place the below script on the event of layout ready. This will work for exact 10 pages (as per ur requirement), we can change for any pages, but need to know the page count before.
//Page 1
if(xfa.layout.page(this) == 1){
this.rawValue
= xfa.layout.page(this) + " of " + 1;}
//Page 2 - 6
if((xfa.layout.page(this) > 1) && (xfa.layout.page(this) <= 6)) {
this.rawValue
= (xfa.layout.page(this)-1) + " of " + (xfa.layout.pageCount()-5);}
//Page 7
if(xfa.layout.page(this) == 7){
this.rawValue
= "";}
//Page 8-10
if(xfa.layout.page(this) > 7) {
this.rawValue
= (xfa.layout.page(this)-7) + " of " + (xfa.layout.pageCount()-7);}
Hope this will help.
Raghu.

Similar Messages

  • Rearrange pages when printing adobe form with multiple master pages

    Hello!
    Good day to you all.
    I have an issue in regards with printing my adobe form with multiple Master pages. I have 4 master pages:
    1st master page: a
    2nd master page: b
    3rd master page: c
    4th master page: d
    all with different headers and footers all having the same contents (items). I don't have issue with one page content (it just prints 4 pages with different headers and footers). The issue comes out once the items exceed 1 page.
    What happens is that the preview/print shows (example: 3-page item)
    a1-a2-a3-b1-b2-b3-c1-c2-c3-d1-d2-d3.
    What i need is to print these such that all 1st pages of the 4 master page to be printed first, then all the 2nd pages, then all 3rd pages. Please see below:
    a1-b1-c1-d1-a2-b2-c2-d2-a3-b3-c3-d3
    This is because we will be using carbonless copy paper during printing and it's possible that it would be printed on batch jobs. Please suggest ways to do this.
    Thanks a lot in advance!
    Best Regards,
    abap_peer_dangs

    Hi,
    Is that requirement of multiple pages as groups only at the time of print or at print preview also...?
    Can you have a Print button on this screen or you should be using the Abobe toolbar's Print button..?
    Well if this on a click of a button in the form and the requirement is only at the time of print and not on print prieview I can have a JS script which does this...
    Let me know if this suffice, I can try with a local file and send you the script.
    @ Chris: I didn't understand what do you mean by reported, I was eager to hear and learn a solution from you may be a new approach which I am not aware of ...?
    Cheers,
    Sai.

  • Dynamic form with multiple master pages

    I have a 7 pg form that has different data in the footer area. I placed the footer info on it's own separate master page and set the page to the corresponding page numbers. I moved the content area above the footer section so my content can flow to the next page properly. But my problem is since I set the Pagination area to "Place: Top of Page "Page 2" and the rest accordingly, I'm getting an almost blank page with the data from the previous page and the next page pushes to a separate page of its own for every page. Not sure how to make the form flow continuous, this is my first time having to do a form this way. Typically I set the pages when I'm done to "Following Previous" instead of "Top of Next page" in the Pagination Place field for each section and everything works fine then. I've never had to deal with a different master page for each page in the form.
    Any help or suggestion would be greatly appreciated.
    Jim

    If you have 7 pages with different footers, wouldn't it be easier to have the footer also part of the body page instead of Master page.
    Unless you are adding dynamic content at runtime, you can keep the footer in the body page itself. That way you can avoid multiple master pages.
    If you still have issues, you can share the form, so I can have a look at it.
    Thanks
    Srini

  • Difference between Body pages and Master Pages in Adobe forms?

    Hi SAP Gurus,
    Please can any one tell me the difference between the Body pages and Master Pages in Adobe Forms?
    In what scenarios we use Body pages and Master pages?
    And also please tell me what is Boiler plates? When these used?
    Thanks and Regards
    Abinava Siri..

    Hi,
    Master Pages:
    Does not included in the content area
    Master page we will design logo,company address and header information
    Here we can desing footer information
    whatever you desing in the master page it will show for all the body pages
    Body pages:
    Included in the content area
    Where we can design table data, it should repeat for line times.
    Regards
    Ramakrishna Pathi

  • Apply multiple master pages to multiple layers

    I have a document that has multiple layer and I need to apply a different master page to each layer.
    Layers are as follows and in this order:
         USA Pricing
         No Pricing
         Euro Pricing
         Yen Pricing
         and so on.
    I have a master page created for each versions layer. I lock all layers except the USA layer and apply the USA Pricing master to that layer it looks great.
    So I lock that layer and unlock the next layer and apply the applicable master to that layer and so on but, even though the other layers are locked what ever master
    I last applied is the one that sticks to all layers.
    How do you get the master page to stick to each layer without using the Master page override to each layer and making it become part of the page?
    If you do that and then you have a change to the Master page on a specific layer/version you have to edit every page and can not simply make a global change on the applicable master!!
    Thank you in advance for any help that can be given.

    Do you mean that only one master page can be applied per page and that it is automatically applied to all layers of that page?
    "so it sounds like you need to create a new master page with the attributes you need for each layer included in one place."
    I don't understand what you mean by this? I have created multiple master pages that have everything I need on them to be applied to each layer!
    They just don't stick to the individual layer! Maybe it the "included in one place" part of your reply that will work but, I don't understand what you mean by that!

  • Multiple Master Pages - how to apply to forms?

    Hello!
    I need to build a form with two pages, one with portrait orientation and the other one with landscape orientation.
    So I created two Master Pagers, one for each, with correspondent orientations.
    The first page is ok, following the portrait Master Page definitions. Now I want to apply the landscape Master Page definitions on the second page - I haven't found where to do it.
    Please, where do I change this?
    Thank you very much for any hints.
    Marcos

    HI Niall,
    I'm glad to have found this thread as I have some forms which need 3 Master pages and something is wrong but I can't figure it out.
    The 1st Master Page is portrait and will be used for the first two pages of content.
    The 2nd Master Page is landscaped and will be used for the third page (or more) content.
    The 3rd Master page has 'fixed' Revision History content and just is what it is, and is ALWAYs last on every form we do.
    So I was able to get the first two content pages on the first Master page (portrait) and it looks fine.
    So far, so good.
    Now for the problem:
    The next "content" page is landscaped, but I cannot put content on it. In fact, if I click on that page, the Master Page is highlighted.
    If I delete it, the 2nd Master Page is deleted as well.
    Moving on:
    The next page does use the appropriate landscaped Master Page and looks good.
    The final page is the Rev history page, as expected.
    NOTES: on the difficult page I have tried to use the information you have here but it doesn't work as it appears to be a Master Page.
    How does a master page show up in the Design View and not allow content to be placed on it? How can I remove it?
    Thanks an awful lot - hope your weather is better than ours!
    Slan!

  • Multiple master pages, But only first master page is printed or is shown in pdf preview.

    Hi,
    I have 8 master pages in my adobe form, But when I see the PDF preview or print only the first master page is shown or printed. Can anyone please tell me how to print or pdf preview all the master pages. The contents in the master pages are different.
    Thanks in advance.

    Master pages are used a background for body pages (similar to a background image).
    You should put all your contents on separate body pages instead master pages.

  • Show/hide /print element on multiple master pages

    Hi again,
    I'm continuing to have a problem with something that should be simple but I can't figure out.
    I have a large form.
    On one of the pages there's a button that says 'is there a non disclosure order in place' - radio button with yes/no.
    If the user selects 'yes' I want the words 'non disclosure' to appear on all my pages.
    I've gone about this by creating a text field (non editable) on each master page. It's down at the bottom middle and doesn't interfer with any other element. I've called each of these fields 'nonDis'
    Radzmar and Josh Geurian have been brilliant in helping me but I'm still not quite getting it.
    Back to the page that the radio buttons are on...
    On the click scripting event I have this code:
    var mp = xfa.resolveNodes("#pageSet.CoreMaster[*].nonDis");
    var mp2 = xfa.resolveNodes("#pageSet.COREMASTER2[*].nonDis");
    var mp3 = xfa.resolveNodes("#pageSet.INFORMATIONSHARING[*].nonDis");
    var mp4 = xfa.resolveNodes("#pageSet.CHRONOLOGY[*].nonDis");
    var mp5 = xfa.resolveNodes("#pageSet.NATPRACTICEMODEL[*].nonDis");
    var mp6 = xfa.resolveNodes("#pageSet.ASSESSMENT[*].nonDis");
    var mp7 = xfa.resolveNodes("#pageSet.PLAN[*].nonDis");
    var mp8 = xfa.resolveNodes("#pageSet.REVIEW[*].nonDis");
    var mp9 = xfa.resolveNodes("#pageSet.PLAN2[*].nonDis");
    var mp10 = xfa.resolveNodes("#pageSet.SUMMARYESSENTIALINFO[*].nonDis");
    var mp11 = xfa.resolveNodes("#pageSet.OPEN[*].nonDis");
    for (var i = 0; i < mp10.length; i += 1) {
         mp10.item(i).presence = this.rawValue != "No" ? "visible" : "hidden";
    for (var i = 0; i < mp11.length; i += 1) {
         mp11.item(i).presence = this.rawValue != "No" ? "visible" : "hidden";
    for (var i = 0; i < mp.length; i += 1) {
         mp.item(i).presence = this.rawValue != "No" ? "visible" : "hidden";
    for (var i = 0; i < mp2.length; i += 1) {
         mp2.item(i).presence = this.rawValue != "No" ? "visible" : "hidden";
    for (var i = 0; i < mp3.length; i += 1) {
         mp3.item(i).presence = this.rawValue != "No" ? "visible" : "hidden";
    for (var i = 0; i < mp4.length; i += 1) {
         mp4.item(i).presence = this.rawValue != "No" ? "visible" : "hidden";
    for (var i = 0; i < mp5.length; i += 1) {
         mp5.item(i).presence = this.rawValue != "No" ? "visible" : "hidden";
    for (var i = 0; i < mp6.length; i += 1) {
         mp6.item(i).presence = this.rawValue != "No" ? "visible" : "hidden";
    for (var i = 0; i < mp7.length; i += 1) {
         mp7.item(i).presence = this.rawValue != "No" ? "visible" : "hidden";
    for (var i = 0; i < mp8.length; i += 1) {
         mp8.item(i).presence = this.rawValue != "No" ? "visible" : "hidden";
    for (var i = 0; i < mp9.length; i += 1) {
         mp9.item(i).presence = this.rawValue != "No" ? "visible" : "hidden";
    I've referenced each of the nonDis text fields individually but only the fileds in the master pages: CoreMaster, COREMASTER2, SUMMARYESSENTIALINFO and OPEN work. Despite their ordering in the code they happen to be the first four master pages that are used in order in the document. The actual order is: OPEN, SUMMARYESSENTIALINFO, CoreMaster, COREMASTER2 - these are then followed by INFORMATIONSHARING and contine down the list in order.
    I should mention that each nonDis field appears on the top level of each of the master pages (ie. not in a sub form). I have a feeling it's something perhaps to do with my above code maybe not being succint enough - or there being a better way to write it. It could also perhaps be something to do with the transition between the last page that does work (using COREMASTER2 masterpage) to the first one that doesn't (using INFORMATIONSHARING master page).
    There is also another big issue in that as soon as I click the print button all the nonDis fields revert back to their opening state of invisible and they stay that way despite the radio button remaining selected on 'Yes' - if i toggle yes/no they reappear on screen, but again disappear when printing. I can't let this happen as the form is meant to be printed.
    So please help... this is (I think) the last piece of the puzzle in a project that has taken months. If there's anything else I can provide you with to help please just ask.

    Hi Radzmar,
    Almost there... I think!
    It worked up to a point. As soon as I click/toggle yes/no the nonDis field does indeed appear on each and every page. However as soon as I send to print they all disappear.
    Doing a few tests it's because of several causes (I think). I have a number of tables which can grow when the user adds info (in fact most text fields have this ability). Also, I have text fields full of information for the user which I have scripted to disappear when sending to print (so the printed form contains user data rather than pages of background info). Finally I have a whole section whose content alters radically depending on which department the user belongs to.
    I've noticed that as soon as a page expands to effectively create another page the nonDis field disappears again (the radio button remains selected as 'Yes') - so my gut feeling is that the code above works only if the page count remains the same. Doing more tests I can see that as soon as even one text field adds another page to the form the nonDis disappears again.
    Finally, I've also done a test on my clean form - with only the radio button, the nonDis field (on a master page) and a text field and if I set this box to flowed and expand the height as soon as the field goes beyond the page to create another page the nonDis disappears once again even though the button remains as 'yes'
    Sunil

  • Why doesn't it show me the Second Master Page in Adobe Forms ?

    Hi guys,
    I have an Adobe Form that has Two Master Pages. When I call the form through the program, It shows me only Master Page 1, it doesn't show me the Second Master page.
    What's the problem? Why isn't it showing me the second master page? Can someone help me with this?

    If you're using HTTPS-Everywhere you might need to disable Pinterest in there!

  • Multiple Master Detail Relation In Forms 6i

    I have tables as below
    1.Bill_Head
    Bill_No
    Bill_Date
    Fin_Year_Cd
    Remarks
    2.Bill_Tail
    Bill_No
    Product_Cd
    Amount
    Ded_Amount
    Net_Amount
    3.Bill_Tail_Det
    Bill_No
    Product_Cd
    Quantity
    Rate
    Interest_Percent
    Service_Charge
    Vat_Tax_Percent
    The Relation is like
    Between BILL_HEAD and BILL_TAIL is Master Details Relation
    Between BILL_TAIL and BILL_TAIL_DET is one to one relation
    In single form i am not able to insert record.
    If i build Master details between BILL_HEAD and BILL_TAIL, BILL_TAIL and BILL_TAIL_DET, when i run the for to insert data.
    I will put the data for BILL_HEAD data
    For this parent record there will be child record in BILL_TAIL block.
    For this BILL_TAIL parent record there may be a child record in BILL_TAIL_DET or may not. Suppose i put a child in BILL_TAIL_DET.
    Then i wanted put one more child record in BILL_TAIL block, if i say next record, it is asking me to "save the record first".
    Please help me in this regards
    my mail id : [email protected]
    Regards
    Mahaveer
    Message was edited by:
    user603318

    Thanks Kris, for your reply.
    Is there any way out to enter all the data at once and then commit, b'cse for every record asking to commit is tedius.
    Regards
    Mahaveer

  • Google api for hindi translation work in master page , because inside form runat="server" id="form1" but did not work in page

    <script src="https://www.google.com/jsapi" type="text/javascript"> </script>
         <script language="javascript" type="text/javascript">
             google.load("elements", "1", { packages: "transliteration" });
             function onLoad() {
                 var options = {
                     sourceLanguage: google.elements.transliteration.LanguageCode.ENGLISH,
                     destinationLanguage: [google.elements.transliteration.LanguageCode.HINDI],
                     shortcutKey: 'ctrl+g',
                     transliterationEnabled: true
                 var control = new google.elements.transliteration.TransliterationControl(options);
                 control.makeTransliteratable(['txtboxfortranslation']);
             google.setOnLoadCallback(onLoad);
    </script>

    Hello,
    Either ask wher Cor suggests, or ask Google.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book: Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C40686F746D61696C2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • BC Blog has affected my master page form

    After publishing my blog from Business Catalyst I noticed that the form on the blog page (actually a master page element) was affected.
    The submit button which I left blank and just have as an invisible button over a small graphic of my own, has now got the 'submit' text written over the top.   Even though this form is a Master Page element it is only affected on the blog page making me think this has been effected by the BC Blog.
    (see attached image, in the red squared out area)
    Can anyone help me get rid of this submit text?

    Hi,
    Yes, it is possible. First check if you have multiple Master Pages, if so you will need to check the pagination and make sure that the necessary objects are on each Master Page.
    In addition, if the heading is dynamic (changes at runtime), then select the object on the Master Page and in the Object > Binding tab, set the data binding to 'global'.
    This should work,
    Niall

  • Can I combine 2 forms with different master pages?

    I have two forms that need to be in one PDF together, but have different master pages. The forms are flowed, so the master pages are necessary to keeping the header and footer content in place. Is there any way to combine two forms?

    Hi guys, I figured out a kinda fudged answer.
    You can make as many master pages as you need, the problem is getting them to appear on the correct pages. I couldn't get the flowing first page to be as long as it needs, then start using the second master page for the next section. If anyone knows how to do that, I still need to know.
    How I fudged this was I put the entire form on the master page in a table to position it correctly and keep it flowed. Then I set the master page to a minimum occurance of 1. - There you go. Not the right answer, but it works.

  • 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

  • Dynamic Form - Barcode on master page, only contents on specific page to be populated on barcode

    We have a dynamic form that grows as required. We have one barcode on the master page. As form grows to next page only the contents on that page (ie page 2) must be on the barcode on page 2 and page 1 content only on page 1. But if the form goes back to normal then the contents must not be on the barcode anymore.
    Could anyone assist on this problem please?

    Hi Brad ,
    For your issue, you can view the Upgrade Status page in Site Settings to verify that upgrade has succeeded for a site collection.
    To view upgrade status in Site Settings 
    1.Verify that the user account that performs this procedure is a site collection administrator.
    2.On the Site Settings page for the site collection, in the Site Collection Administration section, click Site collection upgrade.
    3.On the Site Collection Upgrade page, click Review Site Collection Upgrade Status.
    4.The Upgrade Status page for the site collection is displayed.
    For more information, see
    Manage site collection upgrades to SharePoint 2013
    Also you can  go to _layouts/15/reghost.aspx (Site Settings -> Site Actions -> Reset to site definition) and reset the master page gallery to site definition version.
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

Maybe you are looking for

  • Will iTunes Match work for me?

    My music library (which isn't very big) is split between albums I've downloaded from the iTunes Store and older albums I've imported from CD.  Every time I buy a new machine (or need to wipe my current one), I download all my iTunes Store-purchased m

  • BPS_WB-Can i add a query to a Web interface tabpage?

    Dear experts, In a BPS web interface application, i have already a tab page which allows users to input their data. Now i would like to add a second tabpage which allows to display the existing data. Is that possible to link a BEX query to a Tabpage

  • Logical Delete and Relationships

    Hello, My client has a requirement where all deletes must be logical (set activeFlag = 'N'). For queries, I can set selection criteria to filer out inactive rows. I need to be able to do the same for relationships, 1-1, 1-M, and M-M. That is, make To

  • Trouble with Round trip between Soundtrack Pro 2 and Final Cut Pro 6

    I have edited a home movie together. I then have sent the sequence to Color for grading and then after completing the Color changes and Rendering. I sent it back to Final Cut Pro. It starts out working fine but during the transfer process it stops at

  • Ipod nano crashes windows 7

    Hello Apple community, I am having a problem. My grandpa has an ancient iPod nano 3rd gen 4gb. For some reason, whenever I plug the iPod into his computer, it crashes. Furthermore, with the iPod plugged in his computer it will BSOD again and restart.