11-17-2011 06:02 PM
serviceForm.dictionaryName.FieldName.setSelection(inputValues)
Version 6.01.7 (1961)
Can this ISF be used to set the selection values for a radio list.
and how would it be done?
Example
if Form is "Modify" then set the Radio Options to
if Form is "Add" then set the Radio Options to
11-17-2011 06:02 PM
Tylor you are correct.
I was trying to create reusable fields. basically for services we always have similiar options... Add/Delete or Add/Update/Delete, or Activate/Inactivate etc.
Or maybe a more useful example is something like this...
data1 = radio buttonf (City/State/Zipcode)
if data1 = State then the data2 radio field would populate with (Arizona/California/Oregon) which is predefined in the java logic
11-17-2011 06:02 PM
I believe you have to use the [ ] to indicate which element in the array
11-17-2011 06:02 PM
The setSelection function can change which of the existing options is selected. It doesn't change the actual options themselves.
Its not totally trivial to manipulate the radio button labels via JavaScript (In RequestCenter). In this particular situation I'd probably just leave the question static. I'm not sure the benefit of having the values be dynamic is worth the effort. I would probably have the prompt be something like "Would you like to add/modify a user or grou
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide