Table of Contents

O4WInputOptions routine

Description

Defines additional input options based on the specified enabled flag (0=disabled,1=enabled) and <readOnly> flag (0=read/write, 1=read only). If <autocomplete> is set to “0”, then the input control will not allow the browser to “auto fill in” the value. Returns the option information to use immediately with a display element or input control.

Syntax

optionInfo = O4WINPUTOPTIONS( enabled, readonly, autocomplete )

Parameters

The function has the following parameters:

ParameterDescription
enabledBoolean. True is enabled, false is disabled.
readonlyBoolean. True is readonly, false is not readonly.
autocompleteBoolean. When set to true, the browser will be able to autofill the value.

Returns

Returns

the option information to use immediately with a display element or input control.