>
> You probably have to define a function to add records to 'cv' and modify 
> the SQLFORM-grid to let the 'add' button refer to that function where the 
> 'person' field will be writable.
>
> I don't know hot to change the link in the 'add' button in the grid.  
> Maybe someone else can help.
>

You can edit the href of the 'add' button via:

grid.element('.web2py_search_actions a')['_href'] = URL(...)

Anthony

Reply via email to