Hello,
I have a form created by CRUD with some extra fields. assets_label field is
a dropdown consisting of all old labels. Beside that I add an normal text
field where user can enter a new label.
I have then crud.settings.create_onaccept = insert_assets where I update
the label name if there
Hi,
I want to customize the user registration, and encountered "onaccept" vs
"next".
1. May I know what is the difference between the two?
2. I want the user to be redirected to another form upon
*successful*registration (and logged in), will "next" overwrite "onaccept"?
Thanks!
--
I am using oauth20_account and oauth10a_account as well as the regular
form login authentication.
I want to be able to execute a method after the user logs in. For the
regular form login authentication, return
dict(form=auth.login(onaccept=execute_me_after_login)) executes
execute_me_after_login(
Is there an example of how to use "onaccept" handler?
I tried
auth.settings.verify_email_onaccept = lambda f:_create_account(f)
def _create_account(f):
session.account = f
return
I tried on my index page to display
{{= session.account }}
But I dont think it worked.
Thanks.
Is there an example of using "onaccept" after a user registers?
5 matches
Mail list logo