Look at chapter 6 in the 'field constructor'

   - comment is a string (or a helper or something that can be serialized 
   to a string) that contains a comment associated with this field, and will 
   be displayed to the right of the input field in the autogenerated forms.


On Monday, April 7, 2014 7:55:05 AM UTC-7, csavorgn wrote:
>
> Hi, I'm a web2py newbie and I'm developing my first app.
> In my app I have a database containing a table with many fields. I would 
> like to create three different forms to add rows to the table.
> Each one of these forms should help the user to fill the data 
> corresponding to a special situation.
> This is the behaviour I would like to achieve:
> 1) when the form is accessed some of the fields should already contain a 
> hint which is not necessarily the default value of the field
> 2) the user should select a value from a drop-down list and some other 
> fields should be filled with other hints (the data used for giving these 
> hints should come from another table)
> Is it possible to achieve this behaviour? Could you give me some hints?
> Thanks!
> Carlo
>

-- 
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.

Reply via email to