Remove Check box choice
Function: Remove Check box choice
Description,
This action allows you to remove a specific option from a Checkbox field on your application's user interface. This is useful when you no longer want users to select a particular option, for example, if a product is discontinued, a survey choice is outdated, or a feature is temporarily unavailable.
Input,
- UI element (PART): The specific Checkbox field on your page from which you want to remove an option. You'll select this directly from your application's design interface.
- Code of choice (STRING): The unique identifier (code) of the option you wish to remove from the Checkbox field. This code is typically set when the option was first created.
Output,
This action does not produce a direct output value. Instead, it modifies the specified Checkbox field by removing the chosen option, which will no longer be visible or selectable to users.
Execution Flow,
Real-Life Examples,
-
Removing an outdated product option
- Inputs:
- UI element: "Product Availability Options" (a Checkbox field)
- Code of choice: "OUT_OF_STOCK_ITEM_X"
- Result: The "OUT_OF_STOCK_ITEM_X" option is no longer visible or selectable in the "Product Availability Options" checkbox field, preventing customers from choosing it.
- Inputs:
-
Cleaning up survey preferences
- Inputs:
- UI element: "Newsletter Subscription Topics" (a Checkbox field)
- Code of choice: "OLD_PROMOTIONS_CATEGORY"
- Result: The "OLD_PROMOTIONS_CATEGORY" option is removed from the "Newsletter Subscription Topics" checkbox field, simplifying the choices for new subscribers.
- Inputs:
-
Temporarily disabling a user permission
- Inputs:
- UI element: "User Role Permissions" (a Checkbox field)
- Code of choice: "BETA_FEATURE_ACCESS"
- Result: The "BETA_FEATURE_ACCESS" option is removed from the "User Role Permissions" checkbox field, ensuring that no new users can select this permission until the feature is fully launched.
- Inputs: