I am using sqlform.grid and would like to control the display of the update
form. I read and saw several posts form which I
1) I see the formname parameter on the sqlgrid and am using the default
"web2py_grid.
2) I also saw a post referencing the name of the various forms (I am
interested in the "update_form" only right now.
All I am trying to do is enhgance the display of certain elements on the
form but am unable to get the following to work in my views:
{{if web2py_grid.update_form:}}
{{web2py_grid.update_form.element('textarea')['_cols']=100}}
{{pass}}
The error I get is:
<type 'exceptions.NameError'> name 'web2py_grid' is not defined
Anyone have any suggestions?
--