try formstyle='divs' Then if still not above you can make it above by css and the appropriate div class of id... Look at you generate html view source file. Ctrl+U in most nav
;-) Richard On Thu, Jul 7, 2011 at 2:09 PM, Jim Steil <j...@qlf.com> wrote: > Hi > > Looking for help with form generation. I have: > > form = FORM(LABEL('Name', _for='permissionName'), > INPUT(_type='text', __name='permissionName', > _id='permissionName', > _style="width:150px;", _class='listPanelRow'), > LABEL('Table', _for='tableName'), > INPUT(_type='text', __name='tableName', > _id='tableName', > _style="width:150px;", _class='listPanelRow'), > INPUT(_type='submit', _value='Add'), > _id='permissionForm', > formstyle='table2cols') > > I want my form to display with the label above the input field. The above > code is producing a form with the label ahead of the input field. I know > that formstyle is supported for SQLFORM, but is it available in just the > FORM helper as I'm trying to use it here? > > Thanks > > -Jim > > >