May be there is a better way, but I should start with this: class IS_LIST(object): def __call__(self, value): mylist = value.split(",") return (mylist, None)
Field("fld", "list:integer", widget=SQLFORM.widgets.string.widget, requires=IS_LIST() ) -- Bruno Rocha [ About me: http://zerp.ly/rochacbruno ]