How can I limit the selected cities based on a zipcode?

  • Profile Image
    asccombaillaux
    Asked on December 11, 2014 at 09:07 AM

    Hi,

    In ordder to limit the typing I would like to be able to provide jostform with the list of Towns and associated Zip code so that wehn someone pick a zip code, the liste of availbale cities in the next pick list is reduced to the only matching cities.

    Thanks for your help,

    Georges

  • Profile Image
    KadeJM
    Answered on December 11, 2014 at 11:22 AM

    It seems to me that you want some sort of selection restriction feature to place a limit on the type of cities that would appear if a certain zipcode is used for a specified area.

    Zipcode XXX01 ---> Town A

    Zipcode XXX02 ---> Town B, Town C

     

    I think something that would work much better than that would be our Postal Code Search Widget which you may want to take a look at. It does the same exact thing and only shows the related city since each is unique anyhow.

     

  • Profile Image
    asccombaillaux
    Answered on December 11, 2014 at 02:44 PM

    Hi Kade,

    This is exactly what I need,

    any idea on how to set a default country ?

    Thanks,

    Georges

  • Profile Image
    raul
    Answered on December 11, 2014 at 04:40 PM

    On behalf of my colleague, you're welcome.

    Regarding your question.
    Unfortunately, there's no option to set a default country in the widget.
    You need to select it from the dropdown each time.

    If you have further questions, please let us know.
    Best Regards.

  • Profile Image
    sudsport
    Answered on December 12, 2014 at 04:26 AM

    Hi Raul,

    Tooooo bad for the default country set-up, bu I guess I can deal without it.

    Now is there a french language for this widget, I tried all the tricks which were given by your team on another widget/api translation but it doesn't work as for some unknown reason I cannot reach the "translation option" menu.

    Regards,

    Georges

  • Profile Image
    KadeJM
    Answered on December 12, 2014 at 09:41 AM

    I've opened up a feature improvement request for your idea about setting a default country. You can follow it up here although I can't make any guarantees about it.

    As for your secondary issue involving applying a language I have separated that to this new thread.

  • Profile Image
    sudsport
    Answered on December 15, 2014 at 07:51 PM

    Thanks Kade, please keep me posted on progress.

    Regards,
    Georges

  • Profile Image
    raul
    Answered on December 15, 2014 at 09:19 PM

    On behalf of my colleague, you're welcome.

    Although, please note that you'll be notified for any updates regarding the feature request here: http://www.jotform.com/answers/474235 and regarding the translation issue here: http://www.jotform.com/answers/474227

    Thanks.