Ask AI
Skip to main content

Add Check box choice

Function: Add Checkbox Choice

This action allows you to dynamically add new options to an existing Checkbox Field on your forms or pages. This is useful when you need to present users with a list of choices that might change over time or are generated based on other data, ensuring your forms are always up-to-date without manual updates.

Input

  • UI element: The specific Checkbox Field on your page or form where you want to add a new choice. You must select an existing Checkbox Field.
  • Code: A unique identifier for the new choice. This is typically used internally for data processing and should be a short, descriptive value (e.g., OPTION_A, NEW_PRODUCT).
  • Label: The text that will be displayed to the user next to the checkbox for this new choice (e.g., "Option A", "New Product Feature").
  • Help information (Optional): Additional text that provides more context or explanation for this specific choice, often displayed as a tooltip or small text next to the label.

Output

This function does not produce any direct output that can be used in subsequent steps. Its effect is to modify the specified UI element by adding a new choice.

Execution Flow

Real-Life Examples

Example 1: Adding a new product feature to an order form

Imagine you have an order form where customers can select optional product features using a checkbox field. When a new feature is released, you want to automatically add it to the form.

  • Inputs:
    • UI element: Product Features (a Checkbox Field)
    • Code: EXTENDED_WARRANTY
    • Label: Extended Warranty \(2 years\)
    • Help information: Covers manufacturing defects for an additional 24 months.
  • Result: The "Product Features" checkbox field on the order form now includes a new option labeled "Extended Warranty (2 years)", with a tooltip providing more details.

Example 2: Dynamically updating available shipping options

You have a shipping preference form where users can select various delivery services. Based on certain conditions (e.g., user's location), you might need to add a specific regional carrier as an option.

  • Inputs:
    • UI element: Delivery Services (a Checkbox Field)
    • Code: LOCAL_EXPRESS
    • Label: Local Express Delivery
    • Help information: (Left blank)
  • Result: The "Delivery Services" checkbox field now includes "Local Express Delivery" as a selectable option for users.

Example 3: Expanding survey choices based on user input

In a multi-step survey, after a user selects a general topic, you want to present more specific sub-topics as checkbox options in a later step.

  • Inputs:
    • UI element: Specific Interests (a Checkbox Field)
    • Code: CLOUD_SECURITY
    • Label: Cloud Security Best Practices
    • Help information: Focuses on protecting data and applications in cloud environments.
  • Result: The "Specific Interests" checkbox field in the survey now includes "Cloud Security Best Practices" as an option for the user to select.