awesome - previously I had to hack some custom HTML together to support this
password_two doesn't seem to be working for me still.
My user() function is the default and this is in my user.html view but I
still get "None" for the password_two widget. I am using Mac
download Version 1.93.2 (2011-03-04 23:48:59).
{{=form.custom.begin}}
Email: {{=form.custom.widget.
In your example:
form=SQLFORM.factory(db.person,db.auth_user)
does not have a password_two field. It just is not there, hence no
widget. You must add one somehow. Look how it is done in gluon/
tools.py by searching for password_two.
On Feb 22, 3:46 pm, Nasko wrote:
> Hi massimo
>
> First thanks
Hi massimo
First thanks for your great web2py.
I link 2 tables (user_auth and person) and create custom registration
form
here is the controller:
def register():
db.person.name.readable=db.person.name.writable=False
db.person.user_id.readable=db.person.user_id.writable=False
form=SQ
OK, cool, thanks. Is there a way to use trunk in a Mac install?
fixed just now, please try it.
On Feb 19, 11:36 pm, pbreit wrote:
> Did this get fixed?
>
> I have this:
> {{=form.custom.begin}}
> {{=form.custom.widget.email}}
> {{=form.custom.widget.password}}
> {{=form.custom.widget.password_two}}
> {{=form.custom.end}}
>
> And it shows
Did this get fixed?
I have this:
{{=form.custom.begin}}
{{=form.custom.widget.email}}
{{=form.custom.widget.password}}
{{=form.custom.widget.password_two}}
{{=form.custom.end}}
And it shows email and password fields and then the word "None".
I think we can fix in tools.py. Will look into it.
On Apr 6, 10:09 am, salbefe wrote:
> Hello,
>
> I'm trying to do my custom registration form. I have some problems
> with the password_two field.In my custom registration form
> form.custom.widget.password_two does not work (when it renders I get
I have notice that the welcome application has the same problem.
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to
web2py+unsubscr...@goog
9 matches
Mail list logo