I have a text field (varchar255) set as follows:
The goal is to have the field ruckant hidden when there is an empty ruckm and shown when it is not.
It does not work as it is always visible. NB. variable ruckm is correctly shown in the debugger How to solve?
What is "ruckm" ? is this another field ?
if it is another field then you need the trigger in that field, and a listener in the Target field
Thanks I solved with php :
if (empty($this->data['bes_text'])) {
return 'yes';
} else {
return 'no';
}
and event switcher where I placed the field ruckant inside the switcher option yes/no.
I thoght that an easier solution with event trigger and event would be possible. However naw it works.
But the event switcher works on page load or page submit only, not on live changes.