cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
539
Views
0
Helpful
1
Replies

Setting Values in a Radio Button Field usign ISF (setValue)

Archana Menon
Level 1
Level 1

Hi,

I am trying to set the list of values for a Radio button field using the setValue() method. Though it has assigned all the (3) array values to the text field by separating the values usign a coma, there is no display when I change the Input type to Radio or Select single.

Any suggests, please...

1 Reply 1

Tylor Hagerman
Level 1
Level 1

Hi -

There isn't a way in the ISF provided to change the radio button values that a user selects.  There is only a method setSelection() to change which option is selected.  In order to dynamically change the radio button option values, you can use a data retrieval rule or you can use non-ISF javascript to manipulate the form object to change the values.  If you are planning on manipulating the selectable values, I'd suggest using a single selection HTML control as the options are a easier to manipulate and you also have less to worry about getting all of the other required attributes set up correctly on a dynamically generated radio button object.