Hi All

I've downloaded Web2Py version 2.00.0 (2012-06-12) from Github today. I 
created a simple database table and form using SQLFORM. I then display the 
form using {{=form}}. I can enter data in the form, the form gets saved BUT 
the redisplayed form does not clear the data: Here is my controller code:

def new():
    form = SQLFORM(db.spellings)
    
    if form.process().accepted:
        response.flash = "New word added"
    elif form.errors:
        response.flash = "Form has errors"
    
    return dict(form=form)

Is there a problem with version 2.0 as this works in the latest stable 
branch

thanks

Dave

Reply via email to