On Tuesday, March 13, 2012 9:17:06 PM UTC-4, VP wrote: > > Also, I saw in the video the field tag of type "list:string" is > presented nicely in view in the following way: after a new tag is > entered, a new empty textbox is added so a new tag can be added. How > is this done? (I don't think this is the default behavior).
In SQLFORM, the list widget is assigned to list: type fields: http://code.google.com/p/web2py/source/browse/gluon/sqlhtml.py#873 And the list widget includes Javascript to handle the inputs: http://code.google.com/p/web2py/source/browse/gluon/sqlhtml.py#234. Anthony