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
Hi Donna
You place your fields inside a Container and use the Events Listener in that container to show or hide the container.
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.

Then if the answers were YES:

Thank you Max.
Any help is ALWAYS greatly appreciated.
Donna
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.

Thank you in advance for steering me in the right direction.
Donna
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,
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
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
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.
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😊
You are welcome 😊
