[web2py] Re: IS_IN_SET handle dictionary

2018-09-03 Thread Leonel Câmara
What Anthony said. But, shouldn't you be using IS_IN_DB for this? -- 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 ar

[web2py] Re: IS_IN_SET handle dictionary

2018-09-03 Thread Anthony
It is documented here: http://web2py.com/books/default/chapter/29/07/forms-and-validators#Range-set-and-equality-validators. Assuming you want separate values and labels, you can use a dictionary or list of tuples (not a list of dictionaries as you have, though). Anthony On Monday, September