[Cubicweb] Custom form validation
sandrine.ribeau at logilab.fr
Wed Feb 17 02:03:46 CET 2010
I would like to validate a form so that a validation error will be raised if
none of the three 'important' attributes are provided. So far no attribute is
required on my entity since we want to allow the user to either provide attr1,
attr2 or attr3. User needs only to provide on out of the three bu can provide
the three attributes.
Should I write a specific JSONController for this entity type? Or is there a
better way to do it?
Thanks for your help,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Cubicweb