Selects or clears an option in a Select field based on the index.
Specifies the unique identifier of the select field to select or clear.
Specifies the fixed identifier for an option in the field.
Specifies whether the Select field option is selected (true) or the option is cleared (false).
None.
ca_pam_selectOptionByIndex('Form.VarFillerType', 2, true)
This example sets the current choice of Filler Type to the value at index position 2.
Another example:
ca_pam_selectOptionByIndex('Form.VarFillerType', 2, false)
When Filler Type is already set to Water, this function clears the Filler Type field.
|
Copyright © 2013 CA.
All rights reserved.
|
|