Long time since last post, but i had to do this and a small modification of
mdipierros
code worked for me
fields = form[0].components
n_fields = len(fields)
bot_half = fields[n_fields/2:]
top_half = fields[:n_fields/2]
form[0]=TABLE(TR(
TD(TABLE(*top_half)),TD(TABLE(*bot_half))
))
--
---
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/groups/opt_out.