Portlet Factory, Version 6.1.2


 

Using name/value pairs

In the Radio Button Group builder, To display something different to the user than the value that is returned from the control, your source data must include an element whose value will be used as the value for the Radio Button Group input and an element whose value will be used to provide a label for each radio button. In the radio button group's builder call editor, specify the relative path (from the specified source data) to the "value" and "label" elements as the values for the Value Element and Label Element inputs.

For example, here is the Options format use if the text displayed to the user should be different from the value returned by the control:

<options>
 <option>
   <value>Ch1</value>
   <text>Choice 1</text>
 </option>
 <option>
   <value>Ch2</value>
   <text>Choice  2</text>
 </option>
 <option>
   <value>Ch3</value>
   <text>Choice 3</text>
 </option>
</options>

In the example, you would enter text as the Label Element value and value for the Value Element value.

Parent topic: Using the Radio Button Group builder


Library | Support |