How can I use the address-state in a condition?

  • wsrhodes
    Asked on August 8, 2017 at 9:30 AM

    I have an address block. I would like to use the entered address-state in a condition to direct the email to the proper region. But it looks like I am not able to access this field (only "address") in the "IF" dropdown.

    How do i get access to the "state" field in my condition?

    thanks

  • nurscukulatt
    Replied on August 9, 2017 at 2:42 AM

    You may consider about disabling state section in your address element.

     

    How can I use the address state in a condition? Image 1 Screenshot 40

     

     

    Then the first option for solving this problem is adding one "Short Text Entry" and setting its sub-label as State/Province. If you will shrink both of "Address" and "Short Text Entry" blocks you can collocate them.Then you can use if blocks and customize emails accordingly.

     

    How can I use the address state in a condition? Image 2 Screenshot 51

     

    Also, another solution is that you may consider adding a "Dropdown" element from basic section instead of "Short Text Entry". Then you can state if blocks accordingly. But it may be harder to custom drop down list options since you have to add them one by one.

     

    How can I use the address state in a condition? Image 3 Screenshot 62

  • wsrhodes
    Replied on August 9, 2017 at 7:07 AM

    Thanks for the clear description and screen shots of your work around.

    Reading between the lines, what you are saying is that it is NOT possible to access the "state" field (or any other) directly in the standard address black with an "if" condition.

  • nurscukulatt
    Replied on August 9, 2017 at 7:10 AM

    Yes, it is not possible to use "state" step in a "if" block.