because I am searching through towns and postcode (zip codes) for Australia
some post codes are as short as 2/3 char so I need to keep it set to 3 but
just return a maxium of 10 results. When you enter the postcode (zipcode)
you would get no more than about 4 results.

So because of the large data set do people think I should go with SQL or XML
? sorry I was not quite sure

James

On 4/18/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
>
> James,
>
> The secret there would be to set a minChars value to 5.  There's no
> sense in guessing towns on the first number of a zip code.
> Autocomplete should make things faster for the user, but trying to
> guess towns from a severely incomplete zip code isn't doing them any
> favors.  You don't want to let the user interact with a list of
> possibilities until the subset of choices is narrowed down to a
> reasonable level.
>
> -khoker
>
>
> On Apr 17, 8:00 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> > I found the JQuery and Dan's plugin for auto complete mod today and
> > was just what I was looking for, I have a form where I ask the user to
> > enter there town or postcode ( ZIP code) and then it will auto
> > complete the form. My problem that I found using a cold fusion page is
> > that held a massive array of towns I got a nice error message of "Code
> > of a method longer than 65535 bytes" this is due to the class file
> > that is being created is to big. I know that it was not very smart to
> > try and enter 20,000 towns in to an array but I am not a real coder :-
> > ( what would be the correct way to hold all of this data ? XML ? SQL
> > (SQL to slow) I saw yellowpage.com.au has a nice auto complete form
> > for the location part and I guess I am trying to replicate some thing
> > like that.
>
>
> >
>

Reply via email to