Radio Button Object

How to use Radio buttons in Method

Updated over a week ago

A radio button is another input type for the user to choose between two or more options.


Accessing value of the Radio Button

The radio button object will hold one of values specified in it Radio Options, or blank if no value is set.

When an action requires you to 'Assign a value', you can use the value set in the Radio Button.

Example:

The below image shows an Assign Value to Action Result action. It will assign the value stored in the radio button object called "Radiobutton".


Radio Button Object Properties

When you select the radio button object, you will be able to set its settings, style, and events, as well as the different options for the user to choose from.

Settings

  • Caption: The name for your object. Used for display on screen and to uniquely identify the object within actions.

  • Hide Caption: If you’re just labeling your control for your own information but don’t want the text to show in the live screen, check this box.

  • Load State: The initial state when the screen loads.

  • Display As: Are the radio buttons horizontal or vertical? Choose here.

  • Default Selection: Enter option is selected in the radio button by default.

  • Radio Options: Input each option that can be selected for the radio object. Each option is delimited by a newline.

  • Width: How wide should your control be in relation its container? For more information, check out Styling Basics.

Style

  • Radio Value Size: Identify the size of the text for each radio value. Currently, only Small and Regular are implemented.

  • Background color: Set the background color of radio options buttons.

  • Caption color/size/text alignment/weight: Choose the color, size, alignment, and weight of the text in your caption.

    Actions / Events

  • Change - Event is triggered when a user changes the value of the radio button. If the user selects the same option, it will not trigger.

Did this answer your question?