depend

depend

LapointeLapointe Posts: 430Questions: 81Answers: 4

Hi all

Today I try to display city list in a form to get it using select.

There is up to 36000 cities here and the load time is up to 5 second, not talking about traffic. So not usable..
I'd like to use depend, based on postal code input in the same form to display (load) dynamically cities list according only to this postal code.
Or perhaps autocomplete field while typing the start input value...

Does somebody know how to ?

Thanks all

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 15,144Questions: 1Answers: 2,586
    Answer ✓

    There are a few threads with autocomplete, such as here and here, hopefully they'll get you going,

    Colin

  • LapointeLapointe Posts: 430Questions: 81Answers: 4

    Thanks @colin

    It seem to be too much complicated and not really as fast as expected.
    So I use custom validator function and verify if pair PostalCode and CityName exist in.

    Bob

This discussion has been closed.