Thank you, it works, you saved me the time for lunch :-) On Monday, April 10, 2017 at 2:14:12 PM UTC+2, Marvix wrote: > > tried this? > requires=IS_EMPTY_OR(IS_IN_SET(...)) > > 2017-04-10 14:07 GMT+02:00 Karoly Kantor <kar...@kantor.hu <javascript:>>: > >> I have a picklist type of field where the user selects from a set of >> predefined values. I am using IS_IN_SET(list_of_values) in the Field >> constructor. >> The form cannot be saved unless a value is selected, i.e. the field is >> essentially a required field. >> >> I would like to allow the user NOT to select a value, and still be able >> to save the form. >> >> -- >> Resources: >> - http://web2py.com >> - http://web2py.com/book (Documentation) >> - http://github.com/web2py/web2py (Source code) >> - https://code.google.com/p/web2py/issues/list (Report Issues) >> --- >> You received this message because you are subscribed to the Google Groups >> "web2py-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to web2py+un...@googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > >
-- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.