Hi i guess i have to declare the field is neither readable nor writable, so 
that it will not display in the form. but my concern is the setting of 
writable and readable to false will prevent me from inputting the value 
which i got from running another script into the field mode or it does not 
affect. in the other words. when i display the form, it will ask the user 
to input the info for fields except the mode because i will call another 
script to get the mode data, then i will insert data into all fields. 

Please help
On Thursday, June 6, 2019 at 7:25:05 PM UTC-7, 黄祥 wrote:
>
> perhaps can use readabe=False or show_if
> ref:
>
> http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#Field-constructor
>
> http://web2py.com/books/default/chapter/29/07/forms-and-validators#Conditional-fields
>
> best regards,
> stifan
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/b055f91c-c508-475a-80c7-c365c6cda87f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to