Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

serviceForm.dictionaryName.FieldName.setSelection(inputValues)

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
Everyone's tags (1)
3 REPLIES
New Member

serviceForm.dictionaryName.FieldName.setSelection(inputValues)

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

New Member

serviceForm.dictionaryName.FieldName.setSelection(inputValues)

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

New Member

serviceForm.dictionaryName.FieldName.setSelection(inputValues)

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

207
Views
0
Helpful
3
Replies