About Arbortext Styler > Scripting and Interactivity > Including PDF Forms in PDF Output > PDF Form — Button
  
PDF Form — Button
In PDF, buttons are used to invoke an action. The sample provides a dumb button, which does nothing, and a button that invokes an alert action.
The stylesheet samples in Arbortext-path/samples/APP/pdfFormFields provide these components to support definition and output of a PDF Button:
Component
Description
Element
Name — button
Wraps text that is used as the label on the button
UFE (button)
Name — addButton
Added by Before-text generated text defined for button element
Attributes:
height
width
display (inline or block)
tooltip (text to display when the user hovers over the button)
UFE (alert button)
Name — add AlertButton
Added by Before-text generated text defined for button element
Attributes:
height
width
display (inline or block)
tooltip (text to display when the user hovers over the button)
property set (button)
Name — pdfForms_addButton
Applied by the addButton UFE
property set (alert button)
Name — pdfForms_addAlertButton
Applied by the addAlertButton UFE
APP function (button)
Name — addPDFButton
Called by the property set pdfForms_addPDFButton
APP function (alert button)
Name — addPDFAlertButton
Called by the property set pdfForms_addPDFAlertButton
For information on how to extend the use of buttons by adding PDF Actions, see the PTC Arbortext Layout Developer(PTC ALD) Help Center.