Thanks Massimo.
Here is my reformatted question(hope it will be more understandable):
I want to present two input sets of information coming from server into
two sections of the same view (div1 and div2). First input set is generated
based on user choice control, that presented at the same view(div 0), the
second is user based.
How to
1)organize data fetching/adding INPUT sets to the view so
2)all user input can be submitted back to the server from these two input data
sets into one data table record, icluding user selection choice.
Here is how it looks in the result view and DB recorde:
View:
<tab0>
<div id=0> SELECT(t1,t2,t3)</div>
</tab0>
<HTML CODE>
<tab1>
<div id=1>
INPUT(_name=’file’, _value=’’, default = 0)
INPUT(_name=’parameter’, _value= , default=100)
</div>
</tab1>
<HTML CODE>
<tab2>
<div id2>
INPUT(_name=purpose, _value=’processing’)
</div>
<tab2/>
<HTML CODE>
Db.table row result:
User_choice, file, parameter, purpose
t1 , 0 , 100, ‘processing’
Thank you in advance.
Please let me know if you need more details.
--
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.