Re: HTML quickform - autocomplete
| From: | Justin Patrin | Date: | Fri, 02 Dec 2005 17:57:29 +0000 |
| Subject: | Re: HTML quickform - autocomplete | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-22138@lists.php.net to get a copy of this message | ||
On 12/2/05, PitesaJ@peteramayer.com <PitesaJ@peteramayer.com> wrote:
> I am using it on IE 6 and it works as long as the element has "focus", if
> that is correct terminology. For example if the autocomplete field is the
> first field in a form and I add the following:
>
> <BODY onLoad="document.frmClientRptSelect.cust_id.focus()">
>
> The autocomplete element 'cust_id' works fine. If the autocomplete element
> is the second field and the user tabs from the first field into the
> autocomplete field, all is well. However, if the user mouse clicks into
> the second field, it does not work.
>
Clicking on an element should give it focus. If it doesn't then
something is very wrong. Either it's a bug in the autocomplete element
or in IE. As I said before, please submit a bug report if you have not
already.
> Is there any way to force "focus" on the field when the user mouse clicks
> into a text field?
>
>
>
>
> Justin Patrin <papercrane@gmail.com>
> 12/01/2005 10:32 PM
> Please respond to
> papercrane@reversefold.com
>
>
> To
> sam <sam@artworks.net.nz>
> cc
> pear-general@lists.php.net
> Subject
> Re: [PEAR] HTML quickform - autocomplete
>
>
>
>
>
>
> On 12/1/05, sam <sam@artworks.net.nz> wrote:
> > Justin Patrin wrote:
> > > On 11/30/05, sam <sam@artworks.net.nz> wrote:
> > >> Hi,
> > >>
> > >> I love this feature but unfortunately it doesn't work in Internet
> > >> Explorer 6. Does anyone know of a fix for this?
> > >>
> > >
> > > What autocomplete feature? In general browsers are things implementing
> > > autocomplete for text fields in forms.
> > >
> > > --
> > > Justin Patrin
> >
> > This is a javascript autocomplete using an array of values to complete
> > what the user types -- I don't mean the browser's own autocomplete --
> > like this:
> >
> > "Class Summary: HTML_QuickForm_autocomplete -- HTML class for a text
> > field with autocompletion feature."
> >
>
> Ah. You should have mentioned this in your original e-mail.
>
> >
>
> http://pear.php.net/manual/en/package.html.html-quickform.html-quickform-autocomplete.php
>
> >
> > It is a custom element so understandably may not be perfect but it's
> > really cool and I want to use it!
> >
>
> PEAR packages should work in any recent browser. If this one doesn't
> open a bug report.
>
> --
> Justin Patrin
>
> --
> PEAR General Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>
--
Justin Patrin