Ask AI
Skip to main content

Clear radiobutton choices

Function: Clear Checkbox Choices

This action allows you to instantly remove all existing options from a specific Checkbox field in your application. This is useful when you need to dynamically reset the choices available to users, for example, based on previous selections or data changes.

Input

  • UI element
    • Description: The specific Checkbox field from which you want to remove all options.
    • Type: UI Element (specifically a Checkbox field)

Execution Flow

Real-Life Examples

Here are some practical ways you can use the "Clear Checkbox Choices" action:

Example 1: Resetting Product Options

Imagine you have a form where users select a product category, and then a Checkbox field displays available product features. If a user changes the product category, you'll want to clear the old features before loading new ones.

  • Inputs:
    • UI element: Product Features Checkbox
  • Result: All previously listed product features (e.g., "Waterproof", "Bluetooth", "GPS") are removed from the Product Features Checkbox, making it ready for new options to be added.

Example 2: Clearing a Filter Selection

In a data filtering interface, users might select multiple criteria using checkboxes. If you provide a "Reset Filters" button, this action can be part of clearing all selected filter options.

  • Inputs:
    • UI element: Region Filter Checkbox
  • Result: All selected regions (e.g., "North America", "Europe", "Asia") are removed from the Region Filter Checkbox, effectively unchecking all options and resetting the filter.

Example 3: Dynamic Form Adjustment

Consider a survey where a Checkbox field asks about hobbies. If a user indicates they are under 18, you might want to clear certain age-restricted hobby options that were previously displayed.

  • Inputs:
    • UI element: Hobbies Checkbox
  • Result: All hobby options (e.g., "Skydiving", "Wine Tasting", "Video Games") are removed from the Hobbies Checkbox, allowing you to then add only age-appropriate options.