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! :)
begin:vcard
fn:Christoph Metz
n:Metz;Christoph
adr;quoted-printable;quoted-printable:;;Pleicherkirchgasse 1;W=C3=BCrzburg;W=C3=BCrzburg;97070;Germany
email;internet:[EMAIL PROTECTED]
tel;home:+499314652733
tel;cell:+491607944967
note:ICQ: 415255102
x-mozilla-html:FALSE
url:http://www.cmgm.de
version:2.1
end:vcard

_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to