Hi Guus,
thanks for sending me the files and for your quick response which enabled me to reproduce the problem and I think already find a solution.
For some reason, which I still have to track down, a piece of code, which is not as properly written as it should be, has become more important than in previous Visforms Versions and this piece of code causes the problem. I think the problem occurs at least in Visforms 3.4 and 3.5 Versions.
I will fix the problem in the next Visforms release but for everybody who runs into the same problem before the release is available, here a description how to fix it. I will pass the exact same code changes to Visforms.
Please open the file components/com_visforms/lib/business.php
Find the
Code:
protected function addShowWhenForForm ()
which starts at line 303
Find
Code:
$field->showWhenForForm = $showWhenForForm;
almost at the bottom of this function at line 358 and replace it with
Code:
if (!empty($showWhenForForm))
{
$field->showWhenForForm = $showWhenForForm;
}
I tested with your data and it fixed the problem.
Regards,
Aicha