[web2py] Re: validators don't work on list

2015-03-30 Thread LoveWeb2py
:'( I'll try to find a workaround, but this would be a nice addition in the future releases. On Monday, March 30, 2015 at 12:32:17 PM UTC-4, Anthony wrote: > > Hmm, looks like advanced search is not implemented for list:-type fields > in the grid. > > On Monday, March 30, 2015 at 12:17:09 PM UT

[web2py] Re: validators don't work on list

2015-03-30 Thread Anthony
Hmm, looks like advanced search is not implemented for list:-type fields in the grid. On Monday, March 30, 2015 at 12:17:09 PM UTC-4, LoveWeb2py wrote: > > Hi Anthony, > > Yes I'm talking about the advanced search form in the grid. > > When you set a field type to list:string you no longer have

[web2py] Re: validators don't work on list

2015-03-30 Thread LoveWeb2py
Hi Anthony, Yes I'm talking about the advanced search form in the grid. When you set a field type to list:string you no longer have the ability to select the field from the dropdown menu to create specific searches. Does that help to clarify? for example if I have Field('myFieldA', string')

[web2py] Re: validators don't work on list

2015-03-30 Thread Anthony
Can you clarify the problem? Are you talking about the advanced search form in the grid? What exactly is the issue? On Monday, March 30, 2015 at 11:29:54 AM UTC-4, LoveWeb2py wrote: > > Thank you, Anthony! This solved it. > > Should I use IS_LIST_OF() to enable the search function in SQLFORM? >

[web2py] Re: validators don't work on list

2015-03-30 Thread LoveWeb2py
Thank you, Anthony! This solved it. Should I use IS_LIST_OF() to enable the search function in SQLFORM? On Monday, March 30, 2015 at 10:35:19 AM UTC-4, Anthony wrote: > > Near the end of this section > > > of the

[web2py] Re: validators don't work on list

2015-03-30 Thread Anthony
Near the end of this section of the book, it notes that the only validators that work with list:-type fields are IS_IN_SET(..., multiple=True), IS_IN_DB(..., multiple=True), IS_NOT_EMTPY(), and IS_LIST_OF(). The lat