Hi,
I found a bug when setting an event on a radio button, on the check/uncheck event.
File administrator/components/com_chronoforms5/chronoforms/actions/html/html.php
Line 545
Replace
With
You forgot the :checked state, without this state the radio value always return the first radio button value
Enjoy😉
Ray
I found a bug when setting an event on a radio button, on the check/uncheck event.
File administrator/components/com_chronoforms5/chronoforms/actions/html/html.php
Line 545
Replace
$return .= 'if($("[name=\''.$field['name'].'\']").val() '.$operator.' "'.$event_data['state'].'")';
With
$return .= 'if($("[name=\''.$field['name'].'\']:checked").val() '.$operator.' "'.$event_data['state'].'")';
You forgot the :checked state, without this state the radio value always return the first radio button value
Enjoy😉
Ray
Hi Ray,
Thank you, yes, then bug has been fixed but was not published yet, thanks for posting the fix here!🙂
Regards,
Max
Thank you, yes, then bug has been fixed but was not published yet, thanks for posting the fix here!🙂
Regards,
Max
This topic is locked and no more replies can be posted.