It's hard to keep up with web2py new features. What is exactly,
update=False?
Thanks.
On Saturday, June 22, 2013 3:33:28 PM UTC-5, Anthony wrote:
>
> Does this work:
>
> Field('report_motion', 'boolean', default=False, update=False),
>
> Anthony
>
> On Saturday, June 22, 2013 4:16:22 PM UTC-4, lucas wrote:
>>
>> hello one and all,
>>
>> under db.py, i have the field definition:
>>
>> Field('report_motion', 'boolean', requires=IS_NOT_EMPTY(),
>> default=False),
>>
>> but when i try to uncheck it, it returns the form error "enter a value".
>> so a conundrum: it shouldn't be empty, either false or true, unchecking on
>> the form should be false and not null, checking, of course, true and also
>> not null.
>>
>> i am using web2py 2.5.1 with postgres 8.4.13 on a centos 6.3 machine.
>>
>> thank you in advance, lucas
>>
>
--
---
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].
For more options, visit https://groups.google.com/groups/opt_out.