[Cubicweb] Custom form validation
Sandrine Ribeau
sandrine.ribeau at logilab.fr
Wed Feb 17 02:03:46 CET 2010
Hi,
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,
Sandrine.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cubicweb.org/pipermail/cubicweb/attachments/20100216/10ab0c19/attachment-0186.html>
More information about the Cubicweb
mailing list