I am writing a custom registration form. I noticed that in the controller, 
if I put

def signup():
    return dict(form=auth.register())

I get a Retype password field. However, if I put

def signup():
    form = SQLFORM(auth.settings.table_user,
            labels = {'email':'Email address'},
            submit_button = 'Sign up',
            separator = '', _class='form-horizontal')
    return dict(form=form)

I get None for the Retype password field. How can I fix this?

Also, how can I specify the class of the fields and buttons??

Thanks!

-- 



Reply via email to