I added support for conditional fields to easyform: https://github.com/collective/collective.easyform/pull/352
But pat-depends has some problems with some fields/widgets like SingleCheckBoxBoolFieldWidget and SelectField.
And support for multiselections is missing completly.
The problem with SingleCheckBoxBoolFieldWidget and SelectWidget is that, the fields have a name with a trainling :list which is not supported by pat-depends yet. This would be also needed for the support of multiselections.
For multiselections we need to either add a syntax option in the condition or reuse the ~= substring expression to act as a "current value in list".
I added support for conditional fields to easyform: https://github.com/collective/collective.easyform/pull/352 But pat-depends has some problems with some fields/widgets like SingleCheckBoxBoolFieldWidget and SelectField. And support for multiselections is missing completly.
The problem with SingleCheckBoxBoolFieldWidget and SelectWidget is that, the fields have a name with a trainling
:list
which is not supported by pat-depends yet. This would be also needed for the support of multiselections.For multiselections we need to either add a syntax option in the condition or reuse the
~=
substring expression to act as a "current value in list".