It is, however when you submit your form (crud.create), even if you do not
enter anything, it submits "", so basically overwriting your default.

db.table.date.readable= False
db.table.date.writable = False

So that it will not show up in crud.create. There is more information on
this in the cookbook2.pdf.

-Thadeus




On Tue, Oct 27, 2009 at 9:29 PM, Wiiboy <[email protected]> wrote:

>
> How about a datetime field?:
>
>    Field("date", "datetime", default=request.now)
>
> Right?  Mine are ending up blank.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to