Just set the readable and writable attributes of field you want hidden to False. If you want to make other customizations in the view, you can include conditions such as:
{{if 'view' in request.args:}} [custom code for view forms] {{pass}} Similar conditions can be used in the controller, for example, to conditionally set field readability. Anthony On Monday, November 10, 2014 1:57:39 AM UTC-5, Alex Glaros wrote: > > grid offers view, edit, and delete buttons for each row > > is there a way to create an HTML view for the resulting page when user > clicks on those buttons? I mean without having to create my own button > from scratch. > > Normally the result from grid is an unadorned raw form. And for some > reason, I get fields that were intentionally hidden in the main view of the > grid, but now appear in the resulting view, edit or delete page; fields > such as email address in auth_user table. > > thanks, > > Alex Glaros > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.