APPLICATION DESIGN


Controlling the HTML generated for a field
With Release 8, IBM® Lotus® Domino(TM) adds the ability to change the HTML generated at both the form and individual field level. Note that these options are not included in the HTML (see "Adding HTML attributes to a field" for attributes included in the HTML) but control how the Domino server translates the field into HTML and how input in that field is processed.

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 specific field are stored in a matching text field, named $$HTMLOptions_fieldname. If more than one HTML option is to be set for that field, the field must be set to allow multiple values.

Field-level HTML options will override form-level HTML options.

Disabling passthru HTML in a field

In addition to disabling passthru HTML at the server level, with Release 8, Domino adds the ability to disable passthru HTML for a single field. When passthru HTML is disabled, any HTML enclosed in the passthru HTML tags, < and >, is treated as regular text.

1. Create the field for which you want passthru HTML disabled.

2. Create a computed for display, hidden text field named $$HTMLOptions_fieldname.

3. Specify the value of the text field, based on how much passthru HTML to disable.


This setting affects rendering (Web server generated output), not input. Thus, someone can still post an item that has the passthru HTML in it, but it won't be interpreted as such when the Web server generates output HTML.

Field-level setting of DisablePassThruHTML does not affect:


See Also