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
- 1Launch Adobe LiveCycle and open the document you would like to print.
- 2Open the "Design" tab and click on the field whose border you do not want to show up during the printing process.
- 3Select "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.
- 4Select "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.
- 5Save your file.
- 1