Much appreciated the response guys.
Yes your right its an annoying autofill issue:
taking your example:
h.hidden(name='prefix',value='1we')
${h.field(
"Card Number",
h.text(name='1we-prefix',value=''),
required=True,
)}
Could you be so kind and explain a little more on what its doing?
Thanks,
Garyc
On Feb 7, 9:19 pm, Jonathan Vanasco <[email protected]> wrote:
> On Feb 7, 8:32 pm, Mike Orr <[email protected]> wrote:
>
> > You may be observing a different phenomenon, where the browser saves
> > the values input into forms, and offers to re-enter them later if the
> > form looks similar enough. This is not related to the cache settings.
> > It's related to the form-data preference.
>
> This is what this sounds like to me. It's a client-side issue , most
> browsers call this "Auto Fill" and a feature. I find it annoying.
>
> If you really want to get rid of this, you'd have to use different
> fieldnames on each form. Maybe do something like:
>
> input type='hidden' name='prefix' value='1we'
> input type='text' name='1we-name' value=''
> input type='text' name='1we-prefix' value=''
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" 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/pylons-discuss?hl=en.