Richard
Thanks for the tip. I've switched to using SQLFORM with no data updates
for my purpose now and it is much closer to what I want. Only problem
now is that the input field lengths are getting set to 280px and I can't
find how to override them. I'm just trying a bunch of different things
now to see if I can control it. More tips always welcome....
Thanks again.
-Jim
On 7/7/2011 1:59 PM, Richard Vézina wrote:
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 <[email protected]
<mailto:[email protected]>> 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