form generates a <form><table>... so you should insert an empty row, not a BR You can try this:
form= SQLFORM(db.example) form.append(SCRIPT("jQuery('#example_three__row').after('<tr><td colspan=3><br/></td></tr>')")) On Jun 26, 6:16 pm, Giuseppe Luca Scrofani <glsdes...@gmail.com> wrote: > Hi, something like this is possible? Automatic generation of forms by > db is just too lazy and beautiful to make me manually construct them > just for some space in between fields... > > db.define_table('example', > Field('one'), > Field('two'), > Field('three'), > (insert a br here), > Field('for'), > Field('five'), > Field('six'), > (inser another br here), > Field('seven')) > > This or something like css trick... > > gls