Hello Max,
hope everything fine.
as in the title. Events parameters (values) are not retrieved when editing a form.
When creating an event, parameters such as IF ...... Equals 1 , value is (are) properly saved in forms database and form works as expected. However when the form is reloaded after being saved, or when editing the form, later, the parameter is not loaded although it was properly saved.
configuration:php7.4, CF7, Joomla 3. Same occurs with joomla 4.
Same result when also tested with php7.3 and Joomla 3 or Joomla 4.
Kind regards
simelas
Please try to download the new 7.0.9, it should fix this issue!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Hi Max,
updated to 7.0.9 . Still same issue....
Kr,
simelas
Please attach a simple form with the bug so I can test, or provide the steps to create the event and the data used and I will try to replicate it here!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
[file=bug-test-20220205-202015]bug-test-20220205-202015[/file]
Hi Max, here we go. Put 0 and 1 in event listening .
simelas
I have the same issue
Chronoforms 7.0.9 and Joomla 3.10.5.
Thz!
Frank
I found out that if you use the IN / NOT IN option it works properly but with EQUALS / NOT EQUALS it does not.
Hello
It's the same bug than Where Conditions in cf 7.0.7.
Max has forgottent to fix for this item.
You can fix by modify this value with bloc note:
Replace value:"value\":[\"your_value\"] by value:"value\":\"your_value\" and it works… but don't save !!!
Hello Max,
I wonder when this problem will be solved.
Migrated multi forms from from v5 and every time i stumble upon this annoying bug.
Max, Please Fix this for us.
WiVa
Hi guys
I've found the bug.
File: /administrator/components/chronoforms7/chronoform/behaviors/view/views_event/view_events_rules_php
Line: 379
Text: 'origin' => ['name' => 'Connection[views]['.$n.'][vevents][#vevents#][rules][#rules#][value][ ]']
You have to delete last [ ], for a single value, like this
'origin' => ['name' => 'Connection[views]['.$n.'][vevents][#vevents#][rules][#rules#][value]']
To work, you have to change the value, then save... then correct the value
Thank you Colnem,
Its working indeed. I am updating al my forms and connections now.
Thanks again
Hi, i fix this file.
values in admin section now will stay saved.
but i have problem when i add to events rule . it dont work on frontend.
can you help me fix it? thanks
Hi
I use event rules in front end without problem.
What's your exemple?
Hi, i have set this :
https://www.awesomescreenshot.com/image/26333037?key=7b5da8145362f61b7b06b0cee091857e
and on frontend :
https://www.awesomescreenshot.com/video/8623271?key=e0610d95c004503251191090d0af1a4f
thanks
Sorry but I don't see very well...
Where is the bug?
bug is when i have two events rule - on fronted field is not displa
Maybe is problem bad settings - how i need set events for show field when is selecting value 1 and hide this field when is selecting other value ?
OK
I think that Equals or Not equals are not events.
Try to add Event Change + Equals or Event Change + Not Equals.
Hi, i change it : https://prnt.sc/nphJShlzYmz_
but it dont work . Maybe i have bad settings. How i can set it ?
thnaks
Yes you are right: it doesn't works like this.
You have to Add A complex Action on Event Changes and use javascript.
Hi i tested it .
Here is my example : https://www.awesomescreenshot.com/image/26349997?key=990d8083806b1cdc2393273ba69864f0
but on frontend it doesnt work. events on field doesnt work. next conditions filed doesnt show.
its bad. in CF6 there was no problem.
Max please fix it . its big problem.
Hi
You are right: this doesn't work like this, may be because Equals is not an event.
So you have to use Add Complex Action and Javascript function.
Hi,
thanks for your answer.
Please can you help with this solution , because i dont know how i do it.
thanks
Please, let me some time...
Any solution? I still have the same problem
no . i dont have solution. please any idea ? ????
Maybe try for test purpose, greater then instead of equals . if it works then the bug is in equal....
Also sequence of events may play a role to get acting properly.