Apr 23, 2012

How to Create Fields to Print Without the Box in LiveCycle

,


By default, when printing a form designed in Adobe LiveCycle, borders appears around each of the form's fields. For reasons of aesthetics or clarity, you might prefer those borders not to appear on printed documents. You can remove a field's border during the printing process in LiveCycle by adding specific JavaScript code.

Instructions

    • 1
      Launch Adobe LiveCycle and open the document you would like to print.
    • 2
      Open the "Design" tab and click on the field whose border you do not want to show up during the printing process.
    • 3
      Select "prePrint*" from the "Show" drop-down menu in the top pane. Type or copy and paste the following JavaScript code snippet in the box:
      ui.textEdit.border.edge.presence = "hidden";
      This code snippet will remove the field's border during printing.
    • 4
      Select "postPrint*" from the "Show" drop-down menu and type the next code snippet in the box:
      ui.textEdit.border.edge.presence = "visible";
      This snippet will enable the border again once the file has been printed.
    • 5
      Save your file.
 

HowToYo Copyright © 2011 | Template design by O Pregador | Powered by Blogger Templates