I have a db table, t_services, that includes:
Field('f_service', type='string',
label=T('Service')),
Field('f_default_specification', type='text',
label=T('Default specification')),
Another table, t_line_items, includes:
Field('f_service', type='reference t_services',
label=T('Service')),
Field('f_detail', type='text',
label=T('Detail')),
I have a form to add to the t_line_items table that has a dropdown box for
f_service and a textarea for f_detail. I'd like to update the textarea with
the corresponding t_services.f_default_specification when the an item is
selected in the dropdown.
I hope that makes sense. Any pointers to how to do this gratefully received.
Thanks.
--
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].
For more options, visit https://groups.google.com/d/optout.