If you benefit from web2py hope you feel encouraged to pay it forward by contributing back to society in whatever form you choose!


  • 0
    tom  14 years ago
    I want to store it for another project. This is only an example db.define_table('phone', Field('zip',writable=False,readable=False) Field('areacode',db.areacode), def index(): form = SQLFORM(db.phone) if form.accepts(request.vars,session, dbio=False): form.vars.zip= ?? zip.areacode ?? form.vars.id = db.phone.insert(**dict(form.vars)) response.flash = 'record inserted' .... How can I do it ? thanks

Commented on:

This is a widget I wrote to ease the implementation of displaying interdependent values.

Hosting graciously provided by:
Python Anywhere