optionsAllowPreselect

Specifies that the metadata field option list can be prefilled with its last value.

Type and Usage

Output

  • Returns TRUE if the option list can be prefilled.

  • Returns FALSE if the option list cannot be prefilled.

Example

Specifies that the option list can be prefilled:

<$optionsAllowPreselect=1$>

Determines if the option list will be prefilled:

<$if optionsAllowPreselect and fieldValue$>
<$defaultOptionListScript = "<$optList " & optionListName & ":fieldValue$>"$>
<$else$>
<$defaultOptionListScript = "<$optList " & optionListName & ":noselected$>"$>
<$endif$>