you can use db.auth_used.field.writable=False to turn off a field. You
can make a wizard that moved on self submissions
def profile():
if not session.wizard_step:
turn off some fields
form = ....
if form accepts reload and session.wizard_step=1
elif session.wizard_step==1:
turn off other fields
form = ....
if form accepts reload and session.wizard_step=2
elif session.wizard_step==2:
turn off other fields fields
form = ....
if form accepts reload and session.wizard_step=3
elif session.wizard_step==3:
turn off other fields fields
form = ....
if form accepts reload and redirect
return form
On Feb 9, 2:21 pm, minh <[email protected]> wrote:
> Our user table has many fields, so when the Auth() form is auto-
> generated, there is a long form displayed on the page. I want to make
> it so that registration will be a 2-3 step process containing 2-3
> forms.
>
> I was wondering what the best way to customize this form would be?
> Would it be best to just build the sub-forms in the controller? Or
> just pass the entire auth() form and break it up in the views.
>
> Also, what would I need to do to keep email verification/recaptcha?
>
> Thanks.
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en.