Used to create a set of options for a Select field.
Defines an array of options names that are displayed to the user.
Optionally defines an array of option values which corresponds to each item in the nameArray. If omitted, nameArray is used to define both names and values.
JavaScript object that represents store options and their values.
This example sets the available options for the City field to the specified names and associated values.
var cityOptionNames = ["Los Angeles", "New York", "New Carolina"]; var cityOptionValues = ["LA","NY","NC"]; var newStore = ca_pam_createSelectStore(cityOptionNames ,cityOptionValues )
Now the newStore variable can be passed to a Select Form element using the following method:
ca_pam_addValuesInSelectStore(‘Form.City’,newStore);
|
Copyright © 2013 CA.
All rights reserved.
|
|