cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
986
Views
0
Helpful
3
Replies

serviceForm.dictionaryName.FieldName.setSelection(inputValues)

Daniel Faust
Level 1
Level 1

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

  • Modify User
  • Modify Group

if Form is "Add" then set the Radio Options to

  • Add User
  • Add Group
3 Replies 3

Daniel Faust
Level 1
Level 1

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

Emir AmEx (9.1)
Level 1
Level 1

I believe you have to use the [ ] to indicate which element in the array

Tylor Hagerman
Level 1
Level 1

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

Review Cisco Networking for a $25 gift card