๐งฉ Architecture & Core Logic
- Super Powers
- Joomla Powers
- Compile Native Components, Plugins & Modules
- Multi-Version Support
- Conditional Logic Injection
- Reusable Admin Views
- Dynamic GET Builder
- Round-Trip Code Integration
- Custom Admin Views
- Site Views
- Dynamic Dashboards
- Model Linking Between Views
- Shared Field Reuse Across Views
- Drag & Drop Field Mapping
- Dynamic Field Visibility
- Independent Packaging
๐ Joomla CMS Integration
๐งฑ Custom Code System (Powerful Dual Feature)
๐ Field Type System
๐ Snippets, Templates, Layouts, Libraries
- Snippets Reusable Html Blocks
- Layouts Reusable Php Render Templates
- Templates Page Level Views Linked To Custom Admin Site Views
- Libraries JS CSS Assets Linked To UI
- CDN Local Toggle For Library Delivery
- Media Folder Injection With Override Support
- Repository Push Pull Reset Workflow
- Init Snippets Layouts Templates Via Gui
๐ฆ Packages
๐งฉ Architecture & Core Logic
๐ File & Code Management
๐ง Code Reuse & Blueprints
๐ Joomla CMS Integration
๐จ Visual GUI & UX
๐ Internationalization
๐ฆ Packaging & Distribution
โ๏ธ Compiler Engine Features
๐งฑ Custom Code System
๐ Field Type System
๐ Dynamic GET (Visual SQL Engine)
๐ Snippets, Templates, Layouts, Libraries
๐ Documentation & Metadata
๐ Analytics & Insights
๐งฉ Architecture & Core Logic
- Super Powers
- Joomla Powers
- Compile Native Components, Plugins & Modules
- Multi-Version Support
- Conditional Logic Injection
- Reusable Admin Views
- Dynamic GET Builder
- Round-Trip Code Integration
- Custom Admin Views
- Site Views
- Dynamic Dashboards
- Model Linking Between Views
- Shared Field Reuse Across Views
- Drag & Drop Field Mapping
- Dynamic Field Visibility
- Independent Packaging
๐ Joomla CMS Integration
- Token Integration
- ACL Per View, Field, Item
- Field-Based Joomla Config Generation
- Support For Joomla Categories/Tags/Custom Fields
- CLI-Ready Components
- Joomla Update Server Integration
- Version-Aware Language String Compilation
- Remote Publishing to Custom Repo Update Streams
๐ Field Type System
- Field Types Define Templates And Data Types
- Gui Defined Rules Required Unique Nullable
- Save Get Hooks Per Field
- Database Schema Auto Generated From Field Settings
- Per Display Field Rendering Config List Edit
- Create Dynamic Models With Modals Selectors
- Conditional Js And Css Per Field
๐ Snippets, Templates, Layouts, Libraries
- Snippets Reusable Html Blocks
- Layouts Reusable Php Render Templates
- Templates Page Level Views Linked To Custom Admin Site Views
- Libraries JS CSS Assets Linked To UI
- CDN Local Toggle For Library Delivery
- Media Folder Injection With Override Support
- Repository Push Pull Reset Workflow
- Init Snippets Layouts Templates Via Gui
Dynamic Field Visibility
Show or hide fields intelligently based on user interaction, values, or roles โ without writing code.
What Is Dynamic Field Visibility?
Dynamic Field Visibility in Joomla Component Builder (JCB) allows you to control when and how specific fields appear on a form based on conditions you define. This can include showing a field only when another field has a specific value, hiding fields for certain user groups, or toggling visibility based on checkbox, dropdown, or radio input.
Using the intuitive GUI in JCB, you can define complex logic rules that drive user experience โ helping you simplify forms, reduce clutter, and guide users contextually.
Key Features
- ๐ฏ Condition-Based Visibility Rules: Display or hide fields when specific values are selected, roles are detected, or logic matches.
- ๐งฉ Works with All Field Types: Supports checkboxes, dropdowns, radio buttons, text fields, subforms, and more.
- โ๏ธ No Coding Required: Set logic directly from the field configuration interface using drop-down selectors and condition rules.
- ๐ Multi-Condition Rules: Combine multiple criteria using AND/OR logic (e.g. show Field C only if A = "yes" and B > 10).
- ๐ง Dynamic Updates Without Reload: Uses JavaScript binding to apply visibility changes instantly on the form โ no page reload needed.
- ๐ค User Role & ACL Awareness: Show/hide fields based on Joomla user groups or access levels.
- ๐งฌ Nesting & Dependencies: Fields can react to each other in chained logic (e.g. select a category โ show related sub-options).
- ๐ฆ Used in Admin and Site Views: Visibility rules apply consistently across both backend and frontend views.
Use Cases
- Show additional options only if a checkbox is enabled
- Hide advanced configuration for non-super users
- Display help text or extra fields when a specific type is selected
- Build wizard-style forms that reveal one step at a time
- Show/hide fields based on data from a linked view
How to Configure in JCB
- Create or edit a field from the Fields Manager.
- Scroll to the โDisplay Conditionsโ section.
- Add one or more conditions:
- Select the target field to observe
- Choose comparison operator (equals, contains, greater than, etc.)
- Define the value to match
- Choose the effect: show or hide this field
- (Optional) Add more conditions using AND/OR chaining
- Save and assign this field to a view.
- On compile, the JavaScript logic is automatically injected into your form.
๐ง Pro Tip: Combine visibility with Custom Code snippets or JS callbacks for even more advanced interaction.
Conclusion
Dynamic Field Visibility allows you to create smarter, more responsive user interfaces that adapt in real-time. Whether simplifying data entry or guiding users through complex forms, this powerful visual feature helps you design interfaces that feel polished, efficient, and intelligent โ without a single line of code.