[web2py] Re: Set ID to auth.register()

2010-09-07 Thread Francisco Costa
Thanks Massimo! =) On Sep 7, 5:42 pm, mdipierro wrote: > You are right. My mistake. You have to do it the old fashion way > > replace {{=form.custom.begin}} with > > enctype="multipart/form-data" id="ola"> > > On Sep 7, 11:37 am, Francisco Costa wrote: > > > > > > > > > yes.. I want the html id

[web2py] Re: Set ID to auth.register()

2010-09-07 Thread mdipierro
You are right. My mistake. You have to do it the old fashion way replace {{=form.custom.begin}} with On Sep 7, 11:37 am, Francisco Costa wrote: > yes.. I want the html id > I've tried as follow but didn't work > > form=auth.register(next=URL(r=request, c='default', f='create')) > form['_id']=

[web2py] Re: Set ID to auth.register()

2010-09-07 Thread Francisco Costa
yes.. I want the html id I've tried as follow but didn't work form=auth.register(next=URL(r=request, c='default', f='create')) form['_id']="ola" form.custom.begin On Sep 7, 5:20 pm, mdipierro wrote: > I assume you mean the html id > > form[_id]="..." > > On Sep 7, 10:59 am, Francisco Costa wr

[web2py] Re: Set ID to auth.register()

2010-09-07 Thread mdipierro
I assume you mean the html id form[_id]="..." On Sep 7, 10:59 am, Francisco Costa wrote: > If this: > >                 form=auth.register(next=URL(r=request, c='default', > f='create')) >                 form.custom.begin > > how can I set an ID in the generated html ?