Can we get city value using unique name tag

  • Profile Image
    marcusliassides
    Asked on August 09, 2018 at 01:50 PM

    I'm using the Address element to collect the particular city of the respondent by either using geolocation or entering a full address. While the form presents the full address as the input (which is intended) I'm only interested in the City. I'm able to show just the City field in the form input (hiding the other address fields) but when I try to refer to just the City field in other questions it shows the full address. I can't find any way to just isolate and refer to the City. Can I do that using this element or should I be using another widget? See the attached files to show the Address question and then the following question where I'm trying to refer only to the City.

  • Profile Image
    Mike
    Answered on August 09, 2018 at 02:28 PM

    Yes, this is possible to get the city value using the unique name like this {address:city}, in your case {City:city}.

    Related guide:

    How to Strip Headers from Postal Addresses in Email Alerts

    If you need any further assistance, please let us know.

  • Profile Image
    marcusliassides
    Answered on August 09, 2018 at 02:30 PM

    You're a rockstar! Thank you! :)