[html-formfu] Constraint "Required" with condition "when" doesn't work in apache-style config

Christoph Metz mail-lao at web.de
Fri Nov 28 11:07:01 GMT 2008


using an Require constraint whith the "when" condition doesn't work fine =

for me :/

<element>
            type Select
              name kompetenzfeld_id
              <constraint>
                type Required
                <when>
                    field extern
                    values 0
                  </when>
            </constraint>
</element>


without the "<when>" part the Required constrain works correctly, maybe =

the syntax of my conf isn't correct, but this was the only variant, =

(config-loader) formfu accepted so far...

by the way, thanks to Carl for his answer, get_all_element() works =

perfectly! :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mail-lao.vcf
Type: text/x-vcard
Size: 314 bytes
Desc: not available
Url : http://lists.scsys.co.uk/pipermail/html-formfu/attachments/20081128/0=
efd6fe5/mail-lao-0001.vcf


More information about the HTML-FormFu mailing list