Skip to content

Instantly share code, notes, and snippets.

@bchumney
Created October 17, 2013 14:26
Show Gist options
  • Save bchumney/7025915 to your computer and use it in GitHub Desktop.
Save bchumney/7025915 to your computer and use it in GitHub Desktop.
Convio S-tag HPC Conditionalization
Displays largest transaction amount X 1.5 or 35, whichever is higher
----------------------------------------------------------------------
[[?x[[E130:[[S1:largest_trans_amount]] 35 - 0 > ]]x::x1x::[[E130:[[S1:largest_trans_amount]] 1.5 *]]::35]]
Your donation of
$[[?x[[E130:[[S1:largest_trans_amount]] 25 - 0 > ]]x::x1x::[[E130:[[S1:largest_trans_amount]] 1 *]]::25]].00,
$[[?x[[E130:[[S1:largest_trans_amount]] 50 - 0 > ]]x::x1x::[[E130:[[S1:largest_trans_amount]] 1.5 *]]::50]].00, or
$[[?x[[E130:[[S1:largest_trans_amount]] 100 - 0 > ]]x::x1x::[[E130:[[S1:largest_trans_amount]] 2 *]]::100]].00
will go directly into our Challenge Grant matching funds.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment