Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Fire up on field focus
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Mr.Rech  
View profile  
 More options Mar 19, 5:37 am
From: "Mr.Rech" <andrea.ricip...@gmail.com>
Date: Thu, 19 Mar 2009 02:37:50 -0700 (PDT)
Local: Thurs, Mar 19 2009 5:37 am
Subject: [autocomplete] Fire up on field focus
Hi,
on the autocomplete demo-page I've noticed many examples that set
"minChars" option to "0", giving the impression that they will fire up
as soon as each input field gets the focus. However, they don't, and I
have to type in at least one character to get the autocompletion
working. Now, since I'd really need to autocomplete fields when they
get focus, I'm wondering if I can get this in any way. Is autocomplete
expected to support this feature at any time in the future? If
autocomplete doesn't support this at all, how can I get a similar
result?

TIA,
 Andrea


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
bart  
View profile  
 More options Mar 19, 5:48 am
From: bart <b...@ivwd.nl>
Date: Thu, 19 Mar 2009 02:48:55 -0700 (PDT)
Local: Thurs, Mar 19 2009 5:48 am
Subject: Re: Fire up on field focus
Isn't the entire idea behind auto_complete_ that it actually needs
input before it can complete anything for you?

On Mar 19, 10:37 am, "Mr.Rech" <andrea.ricip...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mr.Rech  
View profile  
 More options Mar 19, 6:20 am
From: "Mr.Rech" <andrea.ricip...@gmail.com>
Date: Thu, 19 Mar 2009 03:20:45 -0700 (PDT)
Local: Thurs, Mar 19 2009 6:20 am
Subject: Re: Fire up on field focus
You are right, but sometimes it's nice to have a list of options
rolled down as soon as the field gets the focus. Especially when that
list is quite short (maybe as a consequence of some filtering based on
already filled in fields). In these cases, it'd be nice to have
autocomplete working without any input from the user. Using the same
widget for all the (text) input fields instead of many different ones
will end in a better user experience (IMHO).

Any hints?

Andrea

On Mar 19, 10:48 am, bart <b...@ivwd.nl> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ed J  
View profile  
 More options Mar 25, 2:39 pm
From: Ed J <edwardo...@gmail.com>
Date: Wed, 25 Mar 2009 11:39:33 -0700 (PDT)
Local: Wed, Mar 25 2009 2:39 pm
Subject: Re: Fire up on field focus
Hello,

I am trying to get the same functionality as Andrea also.

Here's my use case:

I currently have a traditional form select drop down list that can get
very long. It's tedious to scan and scroll through the entire list
when it gets long.
I would like to use autocomplete to show the entire list on focus, and
then dynamically pare down the list as the user types in part of an
element name.

I think that would create the best user experience for my case.

Right now, it's confusing for a user to double click the input field
in order for the entire list of elements to show. Single click (aka
focus) doesn't work.

Ideas?

Thanks,

Ed

On Mar 19, 3:20 am, "Mr.Rech" <andrea.ricip...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ed J  
View profile  
 More options Mar 30, 3:41 pm
From: Ed J <edwardo...@gmail.com>
Date: Mon, 30 Mar 2009 12:41:18 -0700 (PDT)
Local: Mon, Mar 30 2009 3:41 pm
Subject: Re: Fire up on field focus
Hi Andrea,

 I have updated my local version of the plugin to support the behavior
that we both want.
In the unminified version 1.02 of the autocomplete plugin, change line
165
from:
                if ( hasFocus++ > 1 && !select.visible() ) {
to:
                if ( hasFocus++ > 0 && !select.visible() ) {

In my test on Firefox 3.x and iPhone safari, it worked fine. When you
single click into the field, your complete drop down list will now
show up, and autocomplete works correctly.

Hope this helps,

Ed

On Mar 19, 3:20 am, "Mr.Rech" <andrea.ricip...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ed J  
View profile  
 More options Mar 30, 3:55 pm
From: Ed J <edwardo...@gmail.com>
Date: Mon, 30 Mar 2009 12:55:37 -0700 (PDT)
Local: Mon, Mar 30 2009 3:55 pm
Subject: Re: Fire up on field focus
I've posted the 'single click' jquery autocomplete plugin here. Both
full and minified versions are updated:

http://www.edwardotis.com/public_files/js/jquery-autocompleteplugin/a...

enjoy,

Ed

On Mar 30, 12:41 pm, Ed J <edwardo...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ed J  
View profile  
 More options Mar 30, 3:57 pm
From: Ed J <edwardo...@gmail.com>
Date: Mon, 30 Mar 2009 12:57:44 -0700 (PDT)
Local: Mon, Mar 30 2009 3:57 pm
Subject: Re: Fire up on field focus
Also, I used jquery-1.3.2.js when I tested the patch.

On Mar 30, 12:55 pm, Ed J <edwardo...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google