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


Reply via email to