Switch the fields for the last page

Hi all
I need to print a Field1 on all pages except the last page. On the last page, this Field1 should be replaced by an other Field2. These fields must be printed in the footer, so I couldn't use the last page and section only menthod. In addition, its an extra page printing. If the output has only one page, Field2 must be printed not Field1.

I also tried the solution in the following link, but without success.

How to display a field only on the last page which is page

and I tried to use what follows, but does not more.

< xdofo:inline - total
display-condition = "exceptlast."
name = 'field1' >
< / xdofo:inline - total >
< xdofo:inline - total
display-condition = "last".
name = 'Field2' >
< / xdofo:inline - total >

Any help is greatly appreciated.

Thank you.

Hello

I could be wrong.

We can use

At the same start Dungeon RTF.
     

so keep, (keep this loop if you want to add fields, otherwise keep before the loop)
     

at the end of the RTF.

After the statements above at the end of the RTF, set under template
     
     (keep this in the form field)
     (keep this in the form field)
     

then call this model in the footer

Tags: Business Intelligence

Similar Questions

  • Add a field to the last page of a document file only

    Hello

    Currently, I have a script which will add signature fields and the text on the first page of a document.

    The script is required to specify the "last page" of the document and not the page number, because each file can vary depending on the number of pages.

    The script is running in the batch on several files that are not open (usually 50 at a time).

    If someone can advise please how to change the script, I'll be very grateful.

    Create the field dynamically Date for signature of the employee field


    var f = this.addField ("Todaydate", "text", 0,
    [60, 54, 135, 75]) ;

    f.userName = "today's Date";
    f.Value = 'auto update';
    f.ReadOnly = true;
    f.fillColor = color.ltGray;

    Create the signature dynamically for employee field


    var f = this.addField ("mySignature", "signature", 0,
    [120, 85, 330, 105]) ;

    f.setAction ("OnFocus", "var f = this.getField('Todaydate'); ("f.Value = util.printd (a/mm/yyyy", new Date() ");") ;

    Change the third parameter of this.addField from 0 to this.numPages - 1

  • Printer hangs for a minute on the last page, then ends.

    My HP Deskjet printer, driven by my HP Pavilion p6112p and using Microsoft Windows Vista (64-bit) with Service Pack 2, freezes in the middle of the last page for more than a minute, then restarts.  I replaced the drivers and he has contributed a few prints, but he came back.  What should I do now?

    Hi OlderNavy,

    I want to help you with your Deskjet. First post please returns with the answers to these questions.

    1. Is the printer connected wirelessly or with a USB cable?
    2. The printer is connected directly to a wall outlet or a surge protector? (It is preferable to connect directly on the wall)
    3. You have all other printers HP installed on this computer? If so, do you still have the printers?

    While I wait for you, if you have not already tried the HP print and Scan doctor, do it and let me know the results. You will see a key, a yellow exclamation point, a red X, or a checkbox then each point tested.

    Click here to download and run the utility > HP print and Scan Doctor

    I look forward to hear from you.

  • When I send docs to singnature, I also need to send the docs of signature in the same email... the 'signature' field shows at the top of the last page, but I need to show at the bottom of the second?

    I'm new to the Adobe service and I have 5 documents I send to every email.  Two of the docs require signatures, but the others although important, don't require signature.  I want to send all documents in an email, but it seems that the platform sees all 5 documents into a single document requiring a signature that ends by appearing at the top of the last page (ends up being a document that does not require a signature).  Everything works well except the signature field that the platform assigns to the document.  Is it possible to change this?  Have the final signature field appears at the bottom of the second page of the document?

    Hello

    In this scenario, you can manually place the signature fields in the first two pages.

    When you do not place the signature manually fields, system automatically places a signature filed on the last page of the document.

    Please make sure that you place the signature field manually, so that the system won't automatically place the field.

    -Go to the send page

    -Select overview, positioning the signatures or add form fields

    -Click next to add the signature fields

    Kind regards

    Mohamed

  • How to make objects of value to "the rest of the project" persists on the last page?

    In Captivate 5, we have set the calendar for the footer graphic and logo for 'Show for': "the rest of the project."

    These two items appear on each page until the user advances or close the window. However, on the last page of the course, these elements fade. It seems that if the blade is set for 3 seconds, the objects disappear after 3 seconds.

    Is there a way to get these items "rest of project" to continue to display on the last page of the course, the learner will close the window?

    Or does do the last slide time longer, for example, 20 seconds?

    Or should we use slide masters for the footer rather than the option 'rest of slide '?

    Thanks in advance for any ideas or suggestions!

    I don't have CP5. But in CP5.5, to make this work, I would be:

    1. Put these objects on the slide.
    2. Set transition Fade In only. (Transition in the properties panel accordion)
    3. Switch to Filmstrip mode.
    4. Configure each slide to use the master slide.

    I guess that's the way it works in CP5. Give it a try.

  • When I close Firefox and then open it again, the last page I had opened remains open when my new page loading. Didn't help not clear my history and cookies.

    When I close Firefox, windows that were open when I closed Firefox are still open, when I click on a link to open a new window. I cleared my history and cookies and even uninstalled and reinstalled Firefox but that did not work. I had this problem since upgrading to version 29. This isn't the only problem I have had with version 29. Anyone else had problems with version 29?

    I ended up going in the settings to erase history and define it for clear history when Firefox closes and you select to erase history and kitchen and browsing history, the closing of Firefox. Now the links work very well and the last page I was watching until I closed Firefox is gone when it opens again. Problem solved!

  • When I open my browser, it doesn't fit to the homepage, but the last page I was on in my previous internet session. Whats going here?

    OK, so I opened my Firefox browser, but when he opens up he won't go to the home page. He goes to the last page, I realized in my last internet session. My home page is http://www.usautoparts.NET/BMW/Hydrogen/Schwarzenegger.htm but let says I'm on www.facebook.com and then I close the window. If I reopen firefox it will go to the facebook page and not the home page. This happens all the time and sometimes even after that I restarted the computer. He always goes to the last page I visited. As this page for example where I posted a question. Once I close firefox, and then open it again, it will come on this page and not the home page. If it's supposed to happen? He began that happened a few weeks back. I reinstalled it and it still happens. Thank you.

    Hi eaglerabbit,

    It is a pretty easy fix. Just go to Tools > Options > general and change the preference that Firefox should make at startup. You have probably set to load tabs and pages of your previous session.

    If this does not work, you should look at article Knowledge Base How to repair preferences that will not save.

    Hope this helps!

  • How can I get Safari to open in my homepage instead of the last page, I looked?

    Hi everyone, how can I get Safari to open in my home page or a page chosen instead of the last page I was looking at all the time? I keep trying to change this in Safari preferences, but I'm obviously something wrong? It doesn't matter what changes I make in the Safari preferences no matter what I do everytime I open Safari it opens just the last page I was looking at all the time?

    See you soon.

    Normally, you just go to Safari - attendance - general and set up your homepage.

    However, if she does not work for you, try the following steps.

    Go to the Safari menu (at the top right of your screen next to the Apple icon), choose 'Quit Safari'

    Press the "Shift" key and while holding this button on your unique keyboard, click the icon of Safari on your Dock.

    Open Safari - Preferences - Privacy - data to remove any Web site.

    Open the menu to go with the Option (Alt) key - library - key locate Safari folder and place it on your desktop. Restart your Mac, open Safari and delete the file from your desktop.

  • OfficeJet J6480 continue to feed the blank sheets after the last page of the print document then blocks.

    When you print a document on my OfficeJet J6480, once the last page printed, the cradle of the cartridge moves back several times, then one or two white sheets feed through the printer. Sheets then another feeds and jams, requiring the duplexer to be deleted to clear the jam. This happens on 95% of the print jobs sent to the printer.

    Windows XP SP3

    Unfortunately, the troubleshooting steps a false paper jam and find a real fundamentally the same.
    I included a link to a document that is for a paper jam error. However, I'm sure you did 1st two solutions and if you please go above them, I want you to try, is the cleaning of the rollers and the duplexer and reset the products and checking the firmware to ensure that it is up-to-date. These solutions are listed in the order and you can find instructions step by step in this link for each step. Reset will be particularly important because it is one of the most effective tools to correct the problems of material with a printer. Here is the link: http://support.hp.com/us-en/document/c01312792

  • Data received, press CHECK BOX to print the last page

    Aloha

    I have an old HP Laser 4200 Jet that has been the back BONE of my business! I worked perfectly except for the last two days!

    He give me a "data received press CHECK BOX to print the last page" and print a portion of the last page with or without printing of the

    previous pages! It just started happening! Over the other day, I have my children of girlfriends! Is it possible that they pressed a button?

    I reset, but this problem persists! Help!

    SLY

    Hi Sly,

    Welcome to the Customer Support Forums!  I'll lock this accidental double post and lead everyone on this subject.  This will keep all your answers in one easy to find place.

    If you have any questions or concerns about this, feel free to contact me by private Message.  Thank you!

    Message edited by SandyD on 06/06/2009 17:07
  • PointInsertion on the last page?

    I'm having a problem getting the PointInsertion on a page (last page).

    My script is currently seeking a title of script called 'INDEX' in a text frame. What is happening is that the content is displayed in the Master Page and the page created from the Master Page.

    I want only the content displayed in the insertion point on the last page. Master Pages must be intact.

    Pointers would be Grateful.

    Here is my script.

    Find out the last page and get all the text frames
    var lastPageNumber is myDoc.pages.count () - 1;.
    var app.activeDocument.pages.item (lastPageNumber) = lastPage;
    var lastPageItems = lastPage.masterPageItems;
    var indexFrame;
    for (i = 0; i < lastPageItems.length; i ++) {}
    If (lastPageItems [i] .label == "INDEX") { / / look for textFrame with the script name 'INDEX' }
    indexFrame = lastPageItems [i];
    }
    }
    Find the insertion point in the text frame
    var indexInsertionPoint = indexFrame.parentStory.insertionPoints [---]

    First, you will need to substitute your frame. In addition, your code goes through a lot of unnecessary hoops:

    (function(){
        function getIndexFrame(pag){
            var masterPI=pag.masterPageItems;
            for (var i=0; i		   
  • Cannot select items Master Page - but only on the last Page of my Document

    I'm working on a magazine layout, which has the page number and month located downstairs outside the corner of each page (pretty standard). Of course, I have this set up on the master spread. So far whenever I have to remove these items on a page of my document I was able to Ctrl + Shift + click and delete. But for some reason any on the last page (on the back) I can't click little matter what I try. I'm still able to select on other pages, and I have confirmed that the layers are not locked. Any ideas why this is only a specific page that gives me any questions?

    (Just to be sure, that I save my document, close and restart the program.) The problem persisted unfortunately.)

    and I confirmed that the layers are not locked.

    Check that the master page element is not set to prevent substitute also. Go to the main spread and select the folio of problem, choose Pages > Master Pages... and make sure that allow point Master overrides on selection is checked. MP articles that are protected do not have the framework dotted on the pages when show the contours of the block is selected.

    And make sure that you have not inadvertently duplicated the folio on the page or master page.

  • How to use the last page in a book

    Hi, threw on my first book.

    but the last page has the 'Blurb' Logo and custom allow me to drag a photo or a text on this subject...

    tried to change to a different presentation, but that only adds a new page layout before the last page...

    seems strange that I can't do what I want with him... for there's a Blurb thing...

    Best regards, Sandy

    Hi Sandy,

    In the book Module, if you go into the settings of the book on the top of the right side.

    The Option of the book which says: Blurb, you can change it to PDF or Jpeg and then add the image to the last page.

    But once selected one of these options, you will not be able to publish their presentation from Lightroom.

    Kind regards

    Tanuj

  • Different conditional section of the last page.

    Hello


    I created a complex model to manage orders from our Bill. Last page should be a clear document delivery for the driver, not the customer. As the header and footer needed changed to the last page, I created a Section break in the word document. Then I learned that we don't need this last page to print based on a series of Routing Codes. I tried to put the conditional before the section break and in a number of places, and all I could seem manage to do it, it was on the last page, in white instead of eliminate it completely. Thus, rather than conditionally print last page, it prints conditionally Lady.

    While I would be satisfied just to launch the blank page into the printer, I am sure that having a blank page at the end of the report is going to irritate users of the report.

    So, how can I include a section break to a last page that prints under certain conditions without printing a blank page?

    I have looked at a number of possible solutions on the forums, but have been unable to implement successfully.

    Help is appreciated.

    Thank you
    DVF

    I can send the template and xml on demand.

    Published by: 972304 on February 13, 2013 13:57

    Check the result with the model of update sent to your email address and let me know if it works or not.

  • How can I get a standard text block can be found on the last page of my documents?

    How can I get a standard text block can be found on the last page of my documents without having to type in all the time? I have a mission statement with a line to the signature of the customer who I want on the last page of my bills and now I have to type every time or cut and paste a previous invoice. I already have a Master Page that contains customer information and my company at the top of each page, and I use the data merge to fill each page with the ordered items and photos etc. I would just have this mandate type block automatically appear on the last page after the last element in the data merge.

    Thank you all in advance for your help.

    Create a new master based on the one you have now and add the block, then change the master applied to the last page.

Maybe you are looking for