Enable radiobutton field
Function: Enable radiobutton field
This action allows you to make a specific radio button field on your application's form active and available for user interaction. When a radio button field is enabled, users can select one of its options. This is useful for controlling user input based on other selections or conditions within your application.
Input,
- UI element: This is the specific radio button component on your form that you want to enable. You must select a radio button field from your application's design.
Output,
This action does not produce a direct output value. Instead, its effect is to change the state of the specified radio button field on your form, making it enabled.
Execution Flow,
Real-Life Examples,
Here are some practical ways you can use the "Enable radiobutton field" action in your applications:
-
Example 1: Conditional Contact Preferences
- Scenario: On a user profile form, you want to allow users to select their "Preferred Contact Method" (Email, Phone, SMS) only after they have checked a "Receive Notifications" checkbox.
- Inputs:
- UI element: "Preferred Contact Method" (a radio button group)
- Result: When the user checks "Receive Notifications," the "Preferred Contact Method" radio button group becomes enabled, allowing them to choose their preference.
-
Example 2: Step-by-Step Order Form
- Scenario: In an online order form, you want to ensure that customers complete their shipping address details before they can select a "Delivery Speed" (Standard, Express, Same-Day).
- Inputs:
- UI element: "Delivery Speed Options" (a radio button group)
- Result: After the user successfully fills in all required shipping address fields, the "Delivery Speed Options" radio button group becomes enabled, letting them choose how quickly they want their order.
-
Example 3: Role-Based Access for Approvals
- Scenario: In an internal workflow application, only managers should be able to change the "Approval Status" (Approved, Rejected, Pending) of a request. For regular employees, this field should remain disabled.
- Inputs:
- UI element: "Approval Status" (a radio button group)
- Result: When a manager views the request, the "Approval Status" radio button group is enabled, allowing them to update the status. For a regular employee, this action would not be triggered, keeping the field disabled.