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

  • Profile Image
    wsrhodes
    Asked on August 08, 2017 at 09: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

  • Profile Image
    nurscukulatt
    Answered on August 09, 2017 at 02:42 AM

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

     

     

     

    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.

     

     

    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.

     

  • Profile Image
    wsrhodes
    Answered on August 09, 2017 at 07: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.

  • Profile Image
    nurscukulatt
    Answered on August 09, 2017 at 07:10 AM

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