There seems to be a minor problem with this statement, but I think
that's a Templetor issue.

The following statement:
$('email' in tvars and 'value="%s"' % tvars['email'] or '')
results in:
value="[email protected]"

The "-signs are translated to HTML-entitie "
Is there a way to overcome this problem?

Remco

On Jan 30, 10:57 am, Remco <[email protected]> wrote:
> Nice solution! Thanks...
>
> On Jan 29, 5:44 pm, Branko Vukelić <[email protected]> wrote:
>
>
>
>
>
>
>
> > On Sat, Jan 29, 2011 at 9:32 AM, Remco <[email protected]> wrote:
> > > E-mail address: <input name="email" \
> > > $if 'email' in tvars:
> > >    value="$tvars['email']"\
>
> > $('email' in tvars and 'value="%s"' % tvars['email'] or '')
>
> > --
> > Branko Vukelic
>
> > [email protected]http://www.brankovukelic.com/

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to