Radio

Use this widget to display radio buttons for selection.

Last published at: January 27th, 2026

Description:

This widget displays a list of radio buttons for selection.

 

Inputs

  • ID/Name - Name of widget generated by FlowWright (read-only field)
  • Radios - Define the list of items required as radio buttons (comma suffix and unique value for reference) 
  • Default Value - Select the above reference value as the default value
  • Display type - Select between Horizontal / Vertical
  • Required - Select the checkbox for mandatory (tick mark)
  • Hide - Select the checkbox to Hide (tick mark)
  • Read Only - Select the checkbox to Read-Only (tick mark)
  • Display Condition - Define a display condition for other widgets based on the radio button value
  • Tool Tip - Enter information to display on mouse hover on the form render
  • Styles - Enter the CSS scripts for widget styles
  • Apply Classes - Select between custom classes defined 
  • Save - Save the input values 
  • Delete - Remove this form widget from the designer page 
  • Close - Close the input popup window
 

 

Design:

 

 

Example: 

Let’s build and execute the “RadioDef” example.  

  • Create a new Form Definition called “RadioDef.” 
  • Drag a “BootstrapGrid, Label, TextArea, Radio, and Submit” control onto the canvas and arrange them as shown below.

 

  • Double-click the “Radio” control to configure the “Settings” properties. A pop-up window appears for configuration. Enter a name for the control. Enter the radio values in “value, key” format. The “key” is required to configure the conditional display (show or hide) of other Form fields. Set the default radio value. Select the display type as horizontal or vertical. Select the “Required” checkbox for mandatory user input. Select the “Hide” checkbox to hide this widget during runtime. Select the “Read-Only” checkbox to view the list without making a selection. Click the Save button. 

 

  • Double-click the “Radio” widget to configure the “Conditions” properties. Click the plus sign (+) to insert an empty row. Configure the display conditions here. Provide the control key value and map it to the required Form field to show under this condition. Otherwise, the selected Form field is hidden at runtime. The example below shows the label and text area Form fields at runtime when the user selects the “Yes” radio button value. Click the plus sign (+) to add more display conditions. The Form controls are displayed when the appropriate radio values are selected at runtime. Click the Save button. 

 

  • Double-click the “Radio” widget to configure the “Styling” properties. Select the checkbox to apply bold, italic, and underline styles to the label. Select the Foreground and Background colors from the drop-down list. Select the font size from the drop-down list. Enter the CSS syntax for the styles. Select the classes to apply from the global drop-down list. Click the Save button. 

 

  • Double-click the “Radio” widget to configure the “Other” properties. Enter the tool tip text. Click the Save button. 

 

  • Double-click the “Radio” widget to configure the “Globalize” properties. The application will alert you if there is nothing to globalize, as shown below. Otherwise, select a language from the drop-down list, then click the Translate button. Click the Save button. 

 

  • Save the Form definition. Select Actions > Create Form Instance. Generate a new Form Instance, then select the check box to edit it.

 

  • The Form is rendered to the user as shown below. The default radio value is “No”. The Form field remains hidden because the control field (or value) is not selected in this example. 

 

  • Select the “Yes” radio option. The Form fields are displayed based on the control field (or value) selected, as shown in the example below. Provide the user input and click the Submit button to complete the process.  

 

 

Definition Sample:

You may download the sample definition(s) from the link provided and later import them (drag-and-drop) into your FlowWright Process Definition (XML file) or Form Definition (HTML file) page.

Note: Please verify and complete the process steps for any missing configurations, such as file path references and database connections, after the import. Then, save the definition to confirm the changes.

Click here to download the sample file.