After you add an element to a form, specify the values of its required HTML attributes and any optional HTML attributes or JavaScript attributes. Elements generally have one or two required HTML attributes and several optional HTML and JavaScript attributes.
The names of required attributes appear in bold in the Item Inspector when you select the element. Different types of elements have different required HTML attributes. For example, most elements require that you set the value of the _id attribute.
The names of all JavaScript attributes begin with the prefix on, such as onClick, or onMouseOver. These attributes specify the JavaScript function to invoke when the user of the form performs an action. For example, for onClick, the action occurs when the user clicks the element. Similarly, for onMouseOver, the action occurs when the user hovers the mouse over the attribute.
| Copyright © 2013 CA. All rights reserved. |
|