these are the list lines in the SQLFORM constructor:
elif type(formstyle) == type(lambda:None):
table = TABLE()
for id,a,b,c in xfields:
td_b = self.field_parent[id] = TD(b,_class='w2p_fw')
newrows = formstyle(id,a,td_b,c)
if type(newrows).__name__ != "tuple":
newrows = [newrows]
for newrow in newrows:
table.append(newrow)
perhaps we can make this more general?
On Dec 30, 1:59 pm, "David J." <[email protected]> wrote:
> What is the best way to create a new FORM renderer?
>
> How can I override or add a new form render type, ie instead of
> "table|div|ul"?
>
> Thanks.