Even the customization of the Login Form doesn't work using this :

 {{=loginform.custom.begin}}
      <table>
       <tr>
          <td>Email:</td>
          <td>{{=loginform.custom.widget.email}}</td>
        </tr>
        <tr>
          <td>Password:</td>
          <td>{{=loginform.custom.widget.password}}</td>
        </tr>
        <tr>
          <td>{{=loginform.custom.submit}}</td>
              <td></td>
            </tr>
      </table>
 {{=loginform.custom.end}}



So basically this is how i customize the login page:


<form action="" enctype="multipart/form-data" method="post">
  <table>
        <tr>
          <td>Email Address:</td>
          <td><input  name="email" type="text"
value="{{=loginform.latest.email}}"</td>
        </tr>
        <tr>
          <td>Password:</td>
          <td><input  name="password" type="password" value="" /></td>
        </tr>
        <tr>
          <td><input type="submit" value="Submit" /></td>
              <td></td>
            </tr>
      </table>
 {{=loginform.hidden_fields()}}
</form>


Thanks for your help!

Yannick P.

On Aug 23, 8:44 am, Yannick <ytchatch...@gmail.com> wrote:
> Thanks for the note Massimo,
> I tried it but no the validation is not going through... It's not
> working.
>
> Thanks for your help and please let us know if you have any other
> idea.
>
> Cheers,
> Yannick P.
>
> On Aug 23, 6:54 am, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > auch! I just realized password_two is implamented without a widget
> > therefore this syntax does not work.
> > Until this gets firxed this you can do:
>
> > > {{=regform.custom.begin}}
>
> >       {{=regform.custom.widget.first_name}}
> >       {{=regform.custom.widget.last_name}}
> >       {{=regform.custom.widget.email}}
> >       {{=regform.custom.widget.password}}
> > <input type="password" name="password_two" />
> > {{if regform.errors.password_two:}}<div class="error">
> > {{=regform.errors.password_two}}</div>{{pass}}
> > {{=regform.custom.end}}
>
> > Let us know if it works or not.
>
> > Massimo
>
> > On Aug 22, 10:31 pm, Yannick <ytchatch...@gmail.com> wrote:
>
> > > Hello mate,
> > > quick question... I'm trying to customize the Registration form using
> > > Auth.
> > > I was wondering about the Password_two field ???
> > > here is what I'm doing but not working:
>
> > > ####################################
>
> > > {{=regform.custom.begin}}
> > >      {{=regform.custom.widget.first_name}}
> > >      {{=regform.custom.widget.last_name}}
> > >      {{=regform.custom.widget.email}}
> > >      {{=regform.custom.widget.password}}
> > >      {{=regform.custom.widget.password_two}} ### <--- here is my
> > > problem ??? what to i have to put here?
> > >      {{=regform.custom.submit}}
> > > {{=regform.custom.end}}
>
> > > ##################################
>
> > > with this "  {{=regform.custom.widget.password_two}}" the textfield
> > > doesn't show... What do I have to put there ?
>
> > > Can anyone already had the same issue ?
>
> > > Thanks for your help
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to