Forums

Chronoforms 8.0.12 - PHP Event - Validation

rbock 12 Aug, 2023
Hello Max, I added 2 events for a PHP field. Checkboxes with Required are inserted here. However, the validation is also triggered for the checkboxes in the non-active event.
Max_admin 16 Aug, 2023
please explain step by step how to produce this issue
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
rbock 16 Aug, 2023
on 2. Page:

add php + Events + Wizard Settings

php code: if(!empty($this->data("volljährig"))){return "Nein";}

Wizard: Name = php_v

Events: Nein

now: add 2 checkbox with Required
Max_admin 17 Aug, 2023

add 2 checkbox with Required


You mean 2 checkbox views or 1 "checkboxes" with 2 selections ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
rbock 17 Aug, 2023
1 checkbox with required
Max_admin 17 Aug, 2023
ok, I can not understand the issue, please explain in more details, what is the problem ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
rbock 18 Aug, 2023
please watch it here: https://www.randosweb.de/33618864307751.html

1x with, 1x without "Check this 1"
rbock 19 Aug, 2023
Good morning... Could you understand the problem?
rbock 22 Sep, 2023
The problem is still there. One PHP field, 2 events, both contain a checkbox with Required. If the events do not trigger, the checkboxes will not be displayed. So far OK. But Validation/Required is required for these checkboxes. The form cannot therefore be sent.
You need to login to be able to post a reply.