Using greater than or less than with S-tags

Options
I'm currently trying to use s-tags in coaching emails for a specific team raiser. I want to be able to show content based on if an individual has set a goal of $1,000.00 or more and show different content if they've set a goal less than $1,000.00. I've tried [[?x[[S48:2119:goal]]x::x$1,000.00x:: Has goal of a 1,000 :: Does not have goal of $1,000 ]] but this only works if they have set their goal to equal exactly 1,000. Is there a way to say if it's equal or greater to 1,000 show this if it's less than show this?
Tagged:

Comments

  • jon eldredge:

    I'm currently trying to use s-tags in coaching emails for a specific team raiser. I want to be able to show content based on if an individual has set a goal of $1,000.00 or more and show different content if they've set a goal less than $1,000.00. I've tried [[?x[[S48:2119:goal]]x::x$1,000.00x:: Has goal of a 1,000 :: Does not have goal of $1,000 ]] but this only works if they have set their goal to equal exactly 1,000. Is there a way to say if it's equal or greater to 1,000 show this if it's less than show this?

    For this, you can use the S130 tag, which evaluates a reverse polish notation expression, e.g.


    [[?x1x::x[[E130:"[[S48:2119:goal]]" 1000 >]]x::

      Has goal greater than $1,000

    ::

      Has goal that is less than or equal to $1,000

    ]]

Categories