Forums

Container and Group in Chronoforms 8

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.

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 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.
You need to login to be able to post a reply.