Radio Buttons
Radio buttons allow you to create a panel of radio buttons. To add radio buttons to your form, click the Radio Button icon, then click the desired location in the work area.
Radio button choices can be manually entered or dynamically generated from a SQL query. The value of the selected radio button will be stored in the variable associated with the radio button panel.
For example, in the figure below, if "Button 2" is selected at runtime, "Button 2" will be stored in the variable.
To manually create radio buttons, select the radio button icon on the toolbar, then click within the work area to add the radio panel. Click the "Choices" property (or double click within the radio button panel that was added) and select "Manual Entries". You will then be prompted to enter the choices to be displayed for each button. For example, in the figure above, "Button 1, Button 2, Button 3" were entered as the choices. At runtime, the choice associated with the selected radio button will populate the variable. For example, if "Button 2" was selected at runtime, the variable for the radio button will contain "Button 2".
To dynamically create radio buttons, add the radio button as described above, but in this case after clicking "Choices", select "SQL statement”. The Visual Query Builder will then appear where you can create a query to return values that will be displayed as choices for radio buttons. If your SQL query returns more than one field, Argos will prompt you for which field to display. The other SQL fields are still available for use, they just are not displayed. As above, at runtime the value of the selected radio button will populate the associated variable. A maximum of 100 radio buttons can be created. If your query creates larger number, an error message will be displayed.