Disable radiobutton field
Function: Disable radiobutton field
This action allows you to make a specific radio button group on your application's screen unselectable. When disabled, users cannot choose any option within that radio button group. This is useful for preventing users from interacting with certain choices under specific conditions.
Input
- UI element
- Description: The specific Radio Button UI element on your page that you want to disable.
- Type: UI element (specifically a Radio Button field)
Output
This action does not produce a direct output value, but it changes the state of the specified UI element on your application page.
Execution Flow
Real-Life Examples
Here are some practical ways you can use the "Disable radiobutton field" action in your application:
-
Disable payment method options after selection:
- Scenario: A user has already selected "Cash on Delivery" as their payment method and proceeds to the next step. You want to ensure they cannot go back and change their payment choice without restarting the process.
- Inputs:
- UI element:
Payment Method Options(a Radio Button field)
- UI element:
- Result: The "Payment Method Options" radio button group becomes unselectable, preventing the user from changing their chosen payment method.
-
Prevent changes to survey answers after submission:
- Scenario: After a user submits a survey, you want to prevent them from altering their answers if they navigate back to the survey page.
- Inputs:
- UI element:
Survey Question 1 Options(a Radio Button field)
- UI element:
- Result: The "Survey Question 1 Options" radio button group is disabled, making it impossible for the user to modify their submitted answer.
-
Disable shipping preferences based on product availability:
- Scenario: If a particular product is only available for standard shipping due to its size or origin, you might want to disable the entire "Shipping Speed" radio button group if it contains options like "Express" or "Overnight" that are not applicable.
- Inputs:
- UI element:
Shipping Speed Selection(a Radio Button field)
- UI element:
- Result: The "Shipping Speed Selection" radio button group is disabled, preventing users from choosing any shipping speed option that isn't relevant.