[web2py] Problem with IS_IN_SET validator where valid list is dynamic

2010-03-02 Thread hschill...@nasa.gov
I have a form with a string field that uses the IS_IN_SET validator. The set of strings that is allowed must be generated dynamically each time the form is generated. So I add the validator in the controller. ( See the snippet below. ) The problem is that sometimes I get "value not allowed" valida

Re: [web2py] Problem with IS_IN_SET validator where valid list is dynamic

2010-03-02 Thread Jonathan Lundell
On Mar 2, 2010, at 10:46 AM, hschill...@nasa.gov wrote: > I have a form with a string field that uses the IS_IN_SET validator. > The set of strings that is allowed must be generated dynamically each > time the form is generated. So I add the validator in the controller. > ( See the snippet below.