[web2py] Re: How to hide uuid field in crud create form

2011-10-30 Thread clarix
Hello Anthony, I think I found the problem. I had generated the table with the wizard and I had an id field in the table. I removed the id field and the uuid didn't show in the form anymore. I assume you either have an id field or a uuid field not both. Sorry for my clumsiness, I am a starter. Al

[web2py] Re: How to hide uuid field in crud create form

2011-10-30 Thread Anthony
Are you saying Field('uuid', default=web2py_uuid(), readable=False, writable=False) doesn't hide the field (it should)? Can you show more code? Also, note that default=web2py_uuid() will only set the default value once per request, so if your code happens to insert multiple records in the same