Using the Form Designer › Specify Attributes for an Element › HTML Attributes
HTML Attributes
You can use HTML attributes to configure the appearance and behavior of the elements of a form. Keep in mind the following principles:
- Not all HTML attributes apply to all elements (fields). As you view a form in the Form Designer, click an element to see which attributes apply to it.
- Required HTML attributes appear in bold in the Item Inspector. When you add an element to a form, complete the required attributes and save the form immediately after adding the element. Afterwards, you can add optional HTML attributes and JavaScript attributes.
- The HTML attributes are primarily internal, in that they regulate the appearance and behavior of the form. They typically do not supply literal text that appears to the administrator in the Design Area or to the user in a request.
- You view and modify the names and values of the HTML attributes in the Item Inspector as needed. However, you generally do not see the changes reflected as literal text in the Design Area. The exceptions are the Checked attribute for radio buttons and check boxes only, and the Value attribute for labels, text fields, and text areas only.
- For an HTML attribute, you can optionally enter a JavaScript expression, but you cannot call a JavaScript function.
- For all elements except labels and images, you supply the literal text that appears to end users, as follows: You rename the elements on the form in the Component Tree and verify their appearance in the Preview Area. In this way, you add and configure elements on a form.
You can specify attributes according to the following categories:
Attributes for most or all elements
Attributes for Date Time fields only
Attributes for field sets only
Attributes for labels only
Attributes for select boxes only
Attributes for spinner fields only
Attributes for tables only
Attributes for text fields and text areas only
|
Copyright © 2013 CA.
All rights reserved.
|
|