Returns the value of the currently selected option in a Select field.
Specifies the unique identifier of the field for which to retrieve the option value.
This function returns an array of selected option value.
In the case of a single Select drop-down list, the selected option value can be retrieved by accessing the first element of the array.
alert(ca_pam_getSelectedOptionValues('Form.VarFillerType')[0])
This example returns the option value number or text string for the Filler Type that the user chose.
Rocks [0], $50
Sand [1], $100
Water [2], Call for details.
You can also find this function in the out-of-the-box content in CA Process Automation.
|
Copyright © 2013 CA.
All rights reserved.
|
|