Event Listener and event trigger

Show or hide groups of fields based on conditional answers in ChronoForms 8.

Overview

The issue was not knowing how to replicate the segment-based event listener functionality from CF7 to conditionally display field groups.
Place the related fields inside a Container element. Use a unique trigger name for each event, and configure the container's Events Listener to show or hide based on the trigger from the conditional field.

Answered
ChronoForms v8
pg pgrnycomdir 12 Dec, 2025

Max,

In chronoforms 7 the events listener would open a 'SEGMENT'.  

What would I use in Chronoforms 8 to house a group of fields?   Would it be 'FIELDSET' or 'GROUP'?

Or do I have to put event listeners and triggers on each field individually?

I have a Yes or No question.  If the answer is 'YES' it needs to open a group of questions for the user to fill in.  I need to do this process for 3 groups of questions.

Sorry, been trying this all morning to no avail.

Thank you,

Donna

Max_admin Max_admin 13 Dec, 2025

Hi Donna

You place your fields inside a Container and use the Events Listener in that container to show or hide the container.

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
pg pgrnycomdir 13 Dec, 2025

Max,

This is exactly what I am trying to do.  I just can't wrap my head around "use another element's trigger' as explained in https://www.chronoengine.com/faqs/chronoforms/chronoforms8/how-to-setup-fields-events-using-triggers-listeners-in-chronoforms8 .  I need to do this 3 times in a row on the same form for different what we call stages.

If I can get it to work once, then I'm all set.

This is what is was like in Chronoforms 7 and now I need to get it to work in chronoforms 8.

Event Listener and event trigger image 1

Then if the answers were YES:

Event Listener and event trigger image 2

Thank you Max.

Any help is ALWAYS greatly appreciated.

Donna

pg pgrnycomdir 13 Dec, 2025

I was able to get the container to hide (as there are a bunch of fields in the container), but when the answer is 'yes' it does not open.

What is confusing is that the title for the container field disappears after you do a save, so you have to remember what it was.  What is also confusing is putting in a text field in the container to utilize the event trigger option.  I think that is where I am messing things up.

Event Listener and event trigger image 3

Thank you in advance for steering me in the right direction.

Donna

Max_admin Max_admin 15 Dec, 2025

Hi Donna

I could not get what you are trying to do but let me give you some hints.

Usually users want to hide an element by default, in this case you need a trigger named "hide_first", this will run under a "Document Ready" event, then in that element Listeners you listen for "hide_first" and hide

Then you can Show or Hide again (using different triggers names) when the values change.

A common mistake is using the same Trigger name for multiple events, that will NOT work, unless you want all those events to take action at the same time for the trigger to run.

Does this help ?

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
pg pgrnycomdir 29 Dec, 2025

Max,

Sorry for the delay in responding.  Been ill with the flu that seems to be running rapid around here.

I will give this a try and let you know.

Happy New Year!

Donna

pg pgrnycomdir 29 Dec, 2025
Answer
1 Likes

Max,

Took my a while as there are 3 separate questions that if answered YES, they open an area with a lot of questions.  But I got it working.

Thank you for all your support.  I don't know if it was wrong, but I put all the other questions in a area_container and just paid attention to what number container it was before saving.  The actual area_container75 loses it's individual ID after saving the form.

Thanks again,

Donna

Max_admin Max_admin 16 Jan, 2026

Hi Donna

Happy new year for you too, glad you got it working and apologies for the late reply.

I hope you are feeling well now.

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
pg pgrnycomdir 18 Jan, 2026
1 Likes

Hi Max,

No worries on the reply.  I have all my forms up now in version 8 and being saved to data-tables.  Am in the process of upgrading the entire site to Joomla 6.  Thank you again for all your support, it is much appreciated.

Best regards,

Donna😊

Max_admin Max_admin 23 Jan, 2026

You are welcome 😊

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Post a Reply