Conditional to display code on a specific advocacy form

Options
Does anyone know how to write a conditional that I could add to a pagewrapper that is shared by all advocacy forms that would display specific code on a specific advocacy form?


Hope that question makes sense.


I've tried a couple of ways to no avail :-(

[[?xXXXXx::x[[S11:S150]]x::code here::]]

[[?xXXXXx::x[[S4:S150]]x::code here::]]


 
Tagged:

Comments

  • Hi Sara! 


    Here's a general way that might work:


    [[?[[S8]]::UNIQUE_STRING_TO_MATCH::CONTENT::NO CONTENT]]


    The above checks the url ([[S8]]) for a "UNIQUE_STRING_TO_MATCH" and displays "CONTENT" if there is a match, otherwise displays "NO CONTENT"


    Replace "UNIQUE_STRING_TO_MATCH" with the action alert id or other unique thing in the url that you want to match. Replace "CONTENT" with your code. And leave "NO CONTENT" blank if nothing should happen if there isn't a match.


    -Jesse
  • You ROCK JESSE!!


    Not enough words to say how thankful I am so I simply say THANK YOU my friend!

Categories