Clear radiobutton choices
Function: Clear Checkbox Choices
This function allows you to quickly remove all the options or selections from a specific checkbox field on your application's screen. It's useful when you need to reset a checkbox field or dynamically update its available choices.
Input,
- UI element (Checkbox Field): The specific checkbox field on your application's screen from which you want to remove all currently available choices. This input is required.
Output,
This function does not return any specific output. Its effect is directly applied to the specified UI element, clearing all its choices.
Execution Flow,
Real-Life Examples,
Here are some real-life scenarios where you might use the "Clear Checkbox Choices" function:
-
Resetting a Form:
- Inputs:
- UI element (Checkbox Field):
Preferred Contact Methods(a checkbox field with options like "Email", "Phone", "SMS")
- UI element (Checkbox Field):
- Result: When a user clicks a "Reset Form" button, this action is triggered, and all previously selected or available choices in the "Preferred Contact Methods" checkbox field are cleared, making it empty.
- Inputs:
-
Dynamic Filtering of Options:
- Inputs:
- UI element (Checkbox Field):
Available Products(a checkbox field showing products)
- UI element (Checkbox Field):
- Result: Imagine a form where users first select a "Category" from a dropdown. When the category changes (e.g., from "Electronics" to "Books"), this action is used to clear all existing product choices in the
Available Productscheckbox field before new, category-specific products are loaded.
- Inputs:
-
Temporarily Disabling Options:
- Inputs:
- UI element (Checkbox Field):
User Permissions(a checkbox field listing various permissions)
- UI element (Checkbox Field):
- Result: In an administrative panel, if you want to temporarily prevent users from selecting any permissions for a specific user profile, you could trigger this action. It would clear all choices in the
User Permissionscheckbox field, effectively making it empty until new options are added or the page is refreshed.
- Inputs: