In from field construct in your models.

    Field('approve', 'boolean',
          label     = T('Approve'),
          default   = False ),

A

เมื่อ วันเสาร์ที่ 31 ตุลาคม ค.ศ. 2015 7 นาฬิกา 38 นาที 18 วินาที UTC+7, 
Alex Glaros เขียนว่า:
>
> Users approve or disapprove items in selection of records  using a 
>  boolean_field.  Value for  boolean field  of "None" is how I know record 
> needs user's attention.
>
> They access the check box in grid, edit mode
>
> If they click checkbox, boolean field value correctly becomes True
>
> but how do you get users to click twice, once to get rid of None, the 
> second time to get rid of True, so the resulting value is False?
>
> thanks
>
> Alex Glaros
>

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to