Skip to main content
Contributor I
February 8, 2024
Solved

Show/Hide Logic Based on Property Number Value

  • February 8, 2024
  • 1 reply
  • 132 views

Looking to create Dynamic Block based on a contacts Property that has numbers. Example. Contact will see image 1 if their Property value for Current Sales is between .01 and 10000.00. Contact will see image 2 if their Property value for Current Sales is between 10000.01 and 20000.0.

I know i can use a flow and automate a new property based on the value but am looking for a solution where i can just use the Show/hide option based directly on this one Current Sales property rather than having to create another one based on that value.

    This topic has been closed for replies.
    Best answer by JessFosnough

    Hi @Orly KK

    If you don’t mind having 2 (or more) different blocks/sections in your email, you could try using the show/hide logic in the display options.

    For the first group, use this logic to show the correct image:

    person|lookup:'Current Sales' <= 10000.00

    For the second group:

    person|lookup:'Current Sales' => 10000.01

    You might be able to add AND to select properties that are between 2 values, but I’m not sure, try this logic:

    person|lookup:'Current Sales' > 10000.00 and < 20000.00

    Hope this helps!

    1 reply

    JessFosnough
    Expert Problem Solver IV
    Expert Problem Solver IV
    February 9, 2024

    Hi @Orly KK

    If you don’t mind having 2 (or more) different blocks/sections in your email, you could try using the show/hide logic in the display options.

    For the first group, use this logic to show the correct image:

    person|lookup:'Current Sales' <= 10000.00

    For the second group:

    person|lookup:'Current Sales' => 10000.01

    You might be able to add AND to select properties that are between 2 values, but I’m not sure, try this logic:

    person|lookup:'Current Sales' > 10000.00 and < 20000.00

    Hope this helps!

    Jessica