2020.2

Table Of Contents
To learn how to dynamically add options to a Select element, see this how-to: to Dynamically
add options to a dropdown.
Button
The Button element is an element that can be clicked. When adding a Button to a Form you can
set the button's type:
l
A submit button will validate the form data and if validation is successful, send the data to
the provided URL (by the Action specified for the Form; see "Changing a Form's
properties" on page700).
l
A reset button will reset the form to its original configuration, erasing any information
entered and options provided. Note: This cannot be undone!
l
A button of the type button doesn't have a standard function. This is mostly used with a
JavaScript to activate a script.
The button's type can also be changed on the Attributes pane.
There may be multiple submit buttons on a Form. If this is the case, specify a different name
and/or value for each of the buttons.
Note: When adding a Button to a Form, you can specify a value, but no name. The Button's ID
will be copied to the element's name attribute. However, after inserting the Button you can
change its name on the Attributes pane.
Hyperlink and mailto link
Links can be added to any template but they only work in electronic output (web pages, email
and PDF files). They can be a regular hyperlink pointing to a web page or a mailto link that will
open the default email client when clicked.
Note
Hyperlinks - both external and internal - are not preserved when printing multiple pages
on the same sheet (see "Imposition options" on page1239).
Page 705