2021.2

Table Of Contents
l Before element inserts it before the HTML element in which the cursor is currently
located. For example if the cursor is within a paragraph, the insertion point will be
before the <p> tag.*
l After start tag inserts it within the current HTML element, at the beginning, just after
the start tag.*
l Before end tag inserts it within the current HTML element, at the end, just before
the end tag.*
l After element inserts it after the element in which the cursor is currently located. For
example if the cursor is within a paragraph, the insertion point will be after the end
tag of the paragraph (</p>).*
l Replace inserts it in place of the currently selected element. (This option is not
available when inserting content in a Master Page.)
* If the current element is located inside another element, use the Elements drop-down to
select which element is used for the insertion location. The list displays every element in
the breadcrumbs, from the current selection point down to the root of the body.
Note: HTML has some restrictions as to which types of elements are allowed as children
of other elements. For example, a paragraph element is not allowed to have children that
are block level elements - like a Div or a Table. If inserting content at the selected location
would produce invalid HTML the final result may be different than expected. For example,
when you insert a Div into a paragraph, the paragraph gets split in two. This means you
end up with two paragraphs with the Div in between.
12. Close the dialog. Now you can start adding elements to the Form (see "Using Form
elements" on page560, "Form Elements" on page721, and "COTG Elements" on
page709).
Changing a Form's properties and validation method
Once a Form has been added, you can of course edit its HTML code directly in the Source view
of the workspace. Apart from that, there are a number of dialogs to change a Form's properties
and validation settings.
Changing a Form's properties
1. Select the form (see "Selecting an element" on page638).
2. On the Attributes pane you can change:
l The ID and/or class. ID's and classes are particularly useful with regard to variable
data (see "Personalizing content" on page789) and styling (see "Styling templates
with CSS files" on page747).
Page 719