Thanks for your reply, Jim. Unfortunately the table is actually auth_user, 
the boolean fields are extensions which I defined via 

auth.settings.extra_fields[auth.settings.table_user_name] = [...]

Unless there's a very simple way to replace or customize the builtin user 
profile related funtions, I'd rather not like to touch that. I was hoping 
that I could define some kind of virtual field which serves as a front end 
to the two flags, but didn't see anything in the docs.

On Monday, November 15, 2021 at 4:49:05 PM UTC+1 Jim S wrote:

> I'd do that with a custom form (SQLFORM.factory).
>
>
> http://web2py.com/books/default/chapter/29/07/forms-and-validators#SQLFORM-factory
>
> -Jim
>
>
> On Sunday, November 14, 2021 at 5:29:14 AM UTC-6 [email protected] wrote:
>
>> I have a table with two boolean fields. All four combinations used to be 
>> meaningful, but now only three are. 
>>
>> I'd like to present the three options in one dropdown list instead of two 
>> checkboxes. Is this possible and how?
>>
>>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/e1d57b98-c1ba-4b79-96b7-15a02ba77f65n%40googlegroups.com.

Reply via email to