i didn't understand , which the right coding i need to use for 3 form, and 
each of them i need to do. at models at controllers -default - (python) and 
at views(html)

----------------------------------------------------------------------------------------------------------------------------------------------------------------
this examples what i have done. at model


db.define_table('locations',
          Field('name'))


db.define_table('sections',
                Field('title'),
                Field('description'))


db.define_table('types',
                Field('secid',db.sections),
                Field('title'),
                Field('description'))

db.types.secid.requires=IS_IN_DB(db,'sections.id','%(titles)s')



----------------------------------------------------------------------------------------------------------------------------------------------------------------
this my html - views

<tr>
  <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Location</td>
        <td>&nbsp;&nbsp;&nbsp;
             <select name="location">
                    <option value="NULL">Please Select</option>
                    <option value="balai">Balai Berita</option>
                    <option value="sri">Sri Pentas</option>
              </select>
        </td>
        
        
    </tr>
    
    <tr>
        <td>Section</td>
        <td>
            <select name="sec" id="select1">
                <option value="NULL">Please select</option>
                <option value=""></option>
                
            </select>
        </td>
        
        <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Type</td>
        <td>&nbsp;&nbsp;&nbsp;
            <select name="types" class="typelist" id="select2">
                    <option value="NULL">Please select</option>
            </select>
        </td>
    </tr>



i really need help, i already blank and i beginner. thank you.

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

Reply via email to