autofocus

LANSA WAM

autofocus

Specifies that the weblet should automatically get the focus when the page loads. There must be only one field on a page with this property set to true. Setting autofocus to true on more than one field may produce inconsistent results on different browsers.

Default value

False

Valid values

True, False, or any valid XPath expression that returns a boolean value.