The Dynamic Rows example demonstrates how to create an HTML view of a Form Template that allows you to create a dynamic number of field rows on a Form.

 

Note

Notes:

  • For an attribute that can contain multiple values, you must place tags around the section of HTML that will be duplicated to display each value. These tags are [LL_LOOP_BEGIN_1_1_2 /] and [LL_LOOP_END_1_1_2 /]. The numbers at the end of the tag refer to the identifier string for the field. Typically, the identifier contains at least four numbers, but the fourth number is the row identifier. The example code removes the row identifier because it will be replaced when the view is displayed.

  • All the references to the field identifier number must not include the final integer (row identifier).

  • OpenText recommends that you add a <BR> tag immediately before the LL_LOOP_END tag for better formatting.

  • When you have sets with multiple rows, you must place the LOOP tags around the entire section of HTML that draws the rows.

  • For repeating values within a set with multiple rows, you must place LOOP tags around each value that can contain multiple values.

  • You must replace all occurrences of the field identifiers with modified identifiers. For each identifier, you must remove the last number from the identifier string. You should also remove the fourth number from the identifier string. These numbers will be replaced when the Form is displayed.

  • When using a field with the Date: Popup type in your Form, you must leave the date field comments in your view:

    <!-- File: datefield.html (Begin) --> 
    <!-- File: datefield.html (End) --> 
    <!-- End File: datefield.html (End) -->
 

You implement the example by completing the following procedures in the order they are listed.