Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Bjarne Fyrstenborg 1149 posts 3275 karma points MVP 4x c-trib
    Mar 31, 2014 @ 16:29
    Bjarne Fyrstenborg
    1

    City field near zip code

    Great package :)

    An idea might be to move the city input field (disabled) to be located just below the zip code field?

    Futhermore, is it possible to extend the package to allow input for city and from that find the zip code?

    /Bjarne

  • Jan Skovgaard 11247 posts 23464 karma points MVP 7x admin c-trib
    Mar 31, 2014 @ 16:36
    Jan Skovgaard
    0

    Hi Bjarne

    Thanks for the feedback :)

    1: Yeah, that's probably a better experience. I'm making a note.

    2: Are you thinking something like this? api.zippopotam.us/country/state/city - I actually had not seen this option before I just checked the page as in right now...But yeah, that should be possible. Will require a little extra work but I can add it on the todo list for sure.

    Thanks again.

    /Jan

  • Bjarne Fyrstenborg 1149 posts 3275 karma points MVP 4x c-trib
    Mar 31, 2014 @ 17:02
    Bjarne Fyrstenborg
    0

    Hi Jan..

    Yes, exactly. I was not aware of that new feature either.. of was just thinking about let it be optional whether the editors enter zip code or city.. e.g. like this small example: http://methvin.net/js/zip/

    But if some only want the zip code as input field it might be an option in the settings?

    /Bjarne

  • Jan Skovgaard 11247 posts 23464 karma points MVP 7x admin c-trib
    Mar 31, 2014 @ 17:08
    Jan Skovgaard
    1

    Hi Bjarne

    That should be possible to make optional indeed - Thanks for the link :)

    And then the setting could just be changed to something like

    • allow lookup by zip?
    • allow lookup by city?

    If both have been checked both fields are enabled and the script is listening entries in both fields.

    If only city has been allowed then zip is disabled and placed under "City" and vice versa.

    /Jan

  • Bjarne Fyrstenborg 1149 posts 3275 karma points MVP 4x c-trib
    Mar 31, 2014 @ 17:16
    Bjarne Fyrstenborg
    0

    Yes that seems to be optimal as the developer then can decide whether to use zip, city or both for lookup :)

    and have a default configuration / fallback - e.g. just like it is now.

Please Sign in or register to post replies

Write your reply to:

Draft