Radio

Use this widget to present radio buttons for selection.

Last published at: March 23rd, 2026

Description:

This widget shows 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 its “Settings” properties. A pop-up window will appear for configuration. Enter a name for the control. Input the radio values in “value, key” format. The “key” is necessary to set the conditional display (show or hide) of other form fields. Set the default radio value. Choose the display type as horizontal or vertical. Check the “Required” box to make user input mandatory. Check the “Hide” box to hide this widget during runtime. Check the “Read-Only” box 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. Set up the display conditions here. Enter the control key value and map it to the required Form field to display it under this condition. Otherwise, the selected Form field remains 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 (+) again to add more display conditions. The Form controls will appear when the appropriate radio values are chosen at runtime. Finally, 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. Choose 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. Choose 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 tooltip text. Click the Save button. 

 

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

 

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

 

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

 

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

 

 

Definition Sample:

You may download and extract 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.