Thanks mdipierro, I have followup queries,
I want to set default values for email and password field to "Email" and "Password" respectively and clear these default values onFocus. I can add default values and onfocus code using jQuery code but is there anyway I can set defaultValue in the form itself like {{=form.custom.widget.email.'defaultValue''== "Email"}} Thanks On Apr 14, 10:23 am, mdipierro <mdipie...@cs.depaul.edu> wrote: > yes. in default/users.html > > replace > > {{=form}} > > with > > {{if request.args(0)=='login'}} > {{=form.custom.begin}} > <table><tr> > <td>{{=form.custom.widget.email}}</td> > <td>{{=form.custom.widget.password}}</td> > <td>{{=form.custom.submit}}</td> > </tr></table> > {{=form.custom.end}} > {{else:}}{{=form}}{{pass}} > > On Apr 14, 12:19 am, Rohan <yourbuddyro...@gmail.com> wrote: > > > > > Hi All, > > > I want to change the look and feel of default login form. I want it to > > display email and password fields in single row rather than 2 > > different rows. Any way to customize the default form? > > > Any pointers? > > > Thanks -- To unsubscribe, reply using "remove me" as the subject.