Portlet Factory, Version 6.1.2


 

Radio Button builder

The Radio Button builder allows you to reuse an existing group of radio buttons on an imported page or to control the layout of a group of radio buttons. When the user submits the page, the value associated with the selected radio button is sent to the action that processes the form submission.

 

Quick tips

Use the Radio Button builder for flexible radio button layouts

You can tailor the display of two or more radio buttons adding <br /> tags (or any other layout tags) to achieve the layout you want.

For example, you can layout a group of four radio buttons in two rows:

  • Radio 1: <input name="radio1" type="radio" value="1" />

  • Radio 2: <input name="radio1" type="radio" value="2" /> <br />

  • Radio 3: <input name="radio1" type="radio" value="3" />

  • Radio 4: <input name="radio1" type="radio" value="4" />

This layout flexibility is not available when using the Radio Button Group builder.

Use indirect referencing to set the selected radio button

You can set the selected value to be the value in a variable, the result of a method, or the output of a service call by using the reference chooser to select the variable, method, or service call that returns the selected value. Be sure to confirm that the referenced object returns a value that matches the value attribute of one of the radio buttons.

Parent topic: Builder help


Library | Support |