[html-formfu] Problem with constraint When

Cosmin Budrica cosmin at sns.ro
Tue Sep 25 12:28:00 GMT 2007

I can't trigger then constraint when it's supposed to, it always stays
on the Required constraint.

Here's the code:
 - type: Select
   name: school_fk
   label: University
 - type: Text
   name: school
     - type: Required
         - field: school_fk
         - value: x

the school_fk select is populated with a structure like:
[ ['x', 'Other schools'], [1, 'University 1'], [...] ]

What am I doing wrong?

More information about the HTML-FormFu mailing list