Chronoforms 8 Event Triggers

gotpowr 31 Oct, 2024

I know that v8 has the Event Triggers and Event Listeners

So I created:

Field: DropdownAEvent Trigger: Document Ready - HDEvent Trigger: Value Changes - Value(s): 1 - Trigger: HDEvent Trigger: Value Changes - Value(s): 2, 3, 4 - Trigger: SW

Field: DropdownBEvent Listener: Name: HD - HideEvent Listener: Name: SW - Show

The document ready trigger works (loads hidden), but as soon as I change value to any value (1, 2, 3, 4, or back to blank) DropdownB is shown.  It never hides again when value is 1.

I tried Value In instead of Value Changes but that doesn't seem to trigger at all (nothing happens)

Max_admin 01 Nov, 2024

Could you please post screenshots ? it will be easier to replicate the config, or a demo form for this issue specifically

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
gotpowr 01 Nov, 2024
1 Likes

Hi Max,

I just got it working, it seems I've noticed the following (if you can confirm):

  • The "Changes" function doesn't look at the value(s) entered, it simply fires if a field changes.  Thus having 2 change events with different "values" won't work

I just realized my dumba** screwed up dropdown value.  It was supposed to be "IR" but was "IR ".  Thus the 2 "value in" weren't working properly and I assumed the 2 didn't work together properly.  I fixed it and redid the "INs" to include the proper "spelling" and it works fine now for "IN".

DOH!

Thanks!

Max_admin 02 Nov, 2024
Answer

The "Value changes" did not support field values, but I have added this support for the next update!

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.

VPS & Email Hosting 20% discount
hostinger