splitbrain / dokuwiki-plugin-bureaucracy

Create forms and generate pages or emails from them
http://www.dokuwiki.org/plugin:bureaucracy
GNU General Public License v2.0
43 stars 47 forks source link

Multiple instances of same struct field return null #329

Open armandostyl opened 11 months ago

armandostyl commented 11 months ago

If I have multiple instances of the same struct field, and dependency fieldsets, the fieldset higher in the form is negated as the same struct fields in an option below overwrite responses as null.

eg.

select "Test?" "Test|No Test"

fieldset "Info" "Test" struct_field "test1" struct_field "test2"

fieldset "info" "No Test" struct_field "test1" struct_field "test3"

In this case, if Test is selected, struct_field "test1" will return null. If I switch the order of the dependencies, it goes the other way around.