Il 03/04/14 06:23, horridohobbyist ha scritto:
> I've added a 'list:string' field to my table, but when adding a new
> record from admin (using the new record form), I can't figure out how
> to enter the data. I don't understand what format it expects.
>
> I tried "['item1','item2']". I tried "|'item1'|'item2'|". They both
> don't work.
Try adding an SQLFORM in a controller, add some data as a user and go as
admin to the admin interface and edit data you entered.
list:string has a default widget inside SQLFORM that let you enter each
item.
Hope to be of any help
Cheers
M.
--
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].
For more options, visit https://groups.google.com/d/optout.