Container and Group in Chronoforms 8

Understand the purpose of Container and Group elements in ChronoForms.

Overview

The confusion arises because adding these elements does not visibly change the form's front-end layout.
Use a Container to group multiple form elements, allowing you to apply a single event or style to all of them at once. Use a Group primarily as a visual aid within the form designer to organize elements.

Answered
ChronoForms v8
Mm Mmax2 10 Oct, 2024

Good evening, I'm trying to understand what do Container and Group do, but no luck. If I insert for example two text fields into a Container, in the front end nothing changes, the same for the Group. What is the purpose of this areas components? Thank you.

go gotpowr 11 Oct, 2024
1 Likes

The container is used to group elements so that you can do events on them as a group instead of individually.

In other words, if you have 4 text boxes and a dropdown, and they only become visible when a user clicks a checkbox, you can put the "show" event on the container and that will cause all to show when the event is triggered.  Otherwise you would have to manually put a "show" event on each box/dropdown.

Nothing will show on the front-end for container (although I'm assuming you could apply a style to the element if you wanted).

Not sure on grouping.  It doesn't have the same options.  I'll let Max or someone else answer that one 🙂

Max_admin Max_admin 15 Oct, 2024
Answer

As noted by gotpowr, a container is an HTML div element which you can add a class to it and style, or use for events

A group is just a container in the designer, some users like to groups elements in the designer

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.