Typo in your code... Don't know if it's a copy/paste...

On Thu, Aug 18, 2011 at 4:47 PM, TheSweetlink <[email protected]> wrote:

> I am trying to use IS_IN_SET() in a 1 field SQLFORM.factory().
>
> IS_IN_SET() is receiving a list of tuples like:
>

*Here :*


> * ([*'#8:5', 'Bob'), ('#4:2', 'Jane'), ... ]
>
> The set shows up just fine as an dropdown select box but form.errors
> shows:
> " <Storage: {'my_input_name': <Lazy T 'value not allowed'>}> "
>
> I tried to place T.force(None) in models and top of controller but
> wish to avoid such a solution as my project will be internationalized
> not long after launch.
>
> I would greatly appreciate it if anyone could point me in the right
> direction.
>
> Thanks in advance for your time.
>
> -David


Richard

Reply via email to