Table of contents
Handling HTML code generation
With Release 8, Lotus Domino offers the possibility to change the HTML generated for a form and for its fields. These options are not related to the page HTML itself, but on how how the Domino server creates the HTML code for the field into HTML, and how that field's input is processed.
HTML options are indicated by a list of name=value pairs. The name consists of alphanumeric characters (letters, numbers, underscore, dash), and indicates the option that is being set. The value is a number, and indicates the setting of that option. The HTML options for a form are stored in a Computed for Display text field, that must be called $$HTMLOptions. If more than one HTML option/value has to be set for a form, the field must be set to allow multiple values. Field-level HTML options override form-level HTML options.
The following table list the options that are available.
Disables passthru HTML, treating the HTML as plain text.
Forces all sections to be expanded, regardless of their expansion in the Notes rich text fields.
Forces all outlines to be expanded, regardless of their expansion in the Notes rich text.
Forces alternate formatting of tables with tabbed sections. All of the tabs are displayed at the same time, one below the other, with the tab labels included as headers.
Preserves Notes intraline white space (spaces between characters).
For an up-to-date list of HTMLOptions see HTML Options
Controlling the HTML tag attributes generated for a form
The HTML tag attributes are the optional attributes that are included inside the tag of a Web page. On Domino Release 8, designers have the ability to define the attributes for this tag. HTML tag attributes for a form are stored in a hidden Computed for Display text field, that must be called $$HTMLTagAttributes. Specify the value of this field inside quotation marks. For example, specifying the value "lang=en" produces the following code for that tab in the resulting HTML:
Controlling the HTML front matter generated for a form
The HTML front matter consists of an optional tag that appears before the tag of a document displayed on the Web. Since Domino Release 7.0.2, designers have the ability to control these attributes. HTML front matter information for a form is stored in a hidden Computed for Display text field, that must be called $$HTMLFrontMatter.
Specify the value of this field inside quotation marks, and include the statement inside an unique value. For example, this code specifies if an HTML document should be viewed with strict or transitional encoding, depending on the value of a field on the form named Mode.