Applying Format Rules to Forms at Runtime

After you define format rules for forms at design time, users can apply the format rules to forms at runtime using styles. Styles control how format rules are displayed for grids, row headings, column headings, and cells.

Note:

You can only view runtime forms with format-only rules in Forms 2.0. To work in Forms 2.0, the Forms Version setting in application settings must be set to Forms 2.0. Also, format rules are supported in Oracle Smart View for Office 24.200. Versions earlier than 24.200 do not support this feature. If you define format-only rules for a form and then view the runtime form in Forms 1.0 or in a previous version of Smart View, the format rules will be ignored.

To apply styles to forms:

  1. Open a form in Forms 2.0 (or in Smart View 24.200).

  2. Click the style icon on the quick toolbar that is displayed above the form, and select one of the following style options:

    • Cell Style icon Cell Style: Applies Web form styles (such as read-only cells, locked cells, supporting detail), Smart View cell styles defined in Smart View 24.200, data validation rules, and Groovy rules to the form. No custom (format-only) styles are applied.

    • Custom Style icon Custom Style: Applies format-only rules that were defined in the rule builder at design-time, and any Excel custom formatting that was added by administrators and users in Smart View. No cell styles are applied.

    • Custom and Cell Style icon Custom and Cell Style: Applies all cell styles and custom styles to the form. This is the default style option.

Note:

Format rules have an order of precedence in cases where multiple rules are defined in the same location on a form. Order of precedence could impact how formatting is displayed on the runtime form. For more information, see Order of Precedence for Format Rules.