Other Field Display Variables

3-18 Oracle Fusion Middleware Idoc Script Reference Guide If you use the include tag in this way to insert custom HTML code for a special metadata field, you must place the include statement after the HEAD tag on the page. If you place it before the HEAD tag, the system will insert your custom HTML code into the header and attempt to read it as JavaScript.

3.6.2.3 Other Field Display Variables

A number of other variables are available to affect the display of metadata fields. Generally, these are used to define the display of a metadata field depending on which field is currently being generated and the value of related common field display variables. The following is a list of other field display variables. addEmptyOption on page 8-4 captionEntryWidth on page 8-20 captionFieldWidth on page 8-21 defaultFieldInclude on page 8-53 defaultOptionListScript on page 8-54 fieldCaptionInclude on page 8-77 fieldCaptionStyle on page 8-78 fieldEditWidth on page 8-80 fieldEntryInclude on page 8-81 fieldExtraScriptInclude on page 8-82 fieldInclude on page 8-83 fieldMaxLength on page 8-85 fieldValueStyle on page 8-90 hasOptionList on page 8-120 isFieldExcluded on page 8-164 isFieldHidden on page 8-165 isFieldInfoOnly on page 8-166 isFieldMemo on page 8-167 isMultiOption on page 8-176 isStrictList on page 8-187 NotationForRequiredFields on page 8-220 optionListKey on page 8-222 optionListName on page 8-223 optionListResultSet on page 8-224 optionListValueInclude on page 8-226 optionsAllowPreselect on page 8-227 StyleForRequiredFields on page 8-316 Example This example shows how the compute_std_field_overrides include in the IdcHomeDirresourcescoretemplatesstd_page.htm resource file determines if the field currently being generated is hidden, information only, excluded, andor relocated. This code is looped over during generation of each metadata field on a page. dynamichtml compute_std_field_overrides isCustomHidden = getValueactive, fieldName :isHidden if isHidden or isCustomHidden isFieldHidden = 1 else isFieldHidden = endif isCustomInfo = getValueactive, fieldName :isInfoOnly if isInfo or isCustomInfo or isFieldHidden or isInfoOnly isFieldInfoOnly = 1 else Master List: Idoc Script by Type 3-19 isFieldInfoOnly = endif isCustomExcluded = getValueactive, fieldName :isExcluded isCustomRelocated = getValueactive, fieldName :isRelocated if isCustomExcluded or isCustomRelocated and not isRelocated or isExcluded or isFieldHidden and not isFormSubmit isFieldExcluded = 1 endif end

3.7 Read-Only Variables