On Friday 12 January 2007 05:02, Thierry Florac wrote: > I use formlib to handle my forms. > In a AddForm, how can I have a required choice property, using a dynamic > vocabulary, without a default selected value ?
You would have to write your own widget that displays a blank value by default. If the blank value is not changed by the user to a real value, then the widget throws an error during validation. I think by mapping the blank value to the missing value willdo the trick, so the custom widget would be a simple extension to the existing one. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training _______________________________________________ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users