Look in the docs ....

http://web2py.com/books/default/chapter/29/07/forms-and-validators
in your controller before showing your form,

db.yourtable.yourfield.readable=False!!!

Em ter., 28 de jan. de 2020 às 10:29, mostwanted <[email protected]>
escreveu:

> I was wondering if there is a way to show the SQLFORM() with only certain
> fields for the user during a form update & not show all the fields.
> SQLFORM.grid(...) has the field=None argument which enables one to select
> the fields to be displayed in the view, is there something like that for
> SQLFORM(....)?
> I have some fields which only do calculations in my db tables & those are
> the fields I wanna hide during updates.
>
> Regards;
>
> Mostwanted
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/web2py/281ed3a3-66df-4eae-8768-1b9618c6093a%40googlegroups.com
> <https://groups.google.com/d/msgid/web2py/281ed3a3-66df-4eae-8768-1b9618c6093a%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/CAEM0BxNr3nWNi8XHJtZRJ8znpn7Np1Mztn04Ri2bpz6x0i9%3DbQ%40mail.gmail.com.

Reply via email to