Component Conditional Fields
Component Conditional Fields enable content fields within our components to change dynamically based on a user’s checkbox or dropdown selections. This means more power to you: create sophisticated content structures that adapt to your needs without any clutter.
Why It Matters
Checkbox and Dropdown Magic
- Edit your component in ButterCMS.
- Include a checkbox or dropdown to act as your condition trigger.
- Define which fields show up based on the selected conditions.
More Use Cases
- E-commerce Platforms: Show/hide pricing options, inventory levels, and promotional fields based on product categories or sale status.
- Real Estate Portals: Display conditional fields related to property features like pools, garages, or gardens only when relevant.
- Event Organization: Reveal venue-specific information or online event details based on the event type selected.
- Educational Content: Customize learning modules based on the course selected. If a user selects “Science,” reveal fields for lab resources; if “Literature” is chosen, show fields for reading materials.
- Marketing Campaigns: Adjust content based on campaign type. For an email campaign, additional fields for segmentation appear, while for a social media campaign, fields for platform-specific content show up.
- Recipe Content Management: Change ingredient fields based on the type of cuisine selected or dietary restrictions indicated.
- Travel Sites: Show fields relevant to the mode of transportation or accommodation type chosen.