Problem applying styles to a conditional statement result

  • Thread starter Maxprog Knowledge Base
  • Start date
M

Maxprog Knowledge Base

Guest
Actually you can't apply styles to a conditional statement using the MaxBulk Mailer style tools. That will break the whole conditional statement. You have to do it by hand instead.

For example:

<IF [[Opt1]] < "[Year]" <AND> [[Opt2]] <= "5" >Thank you for <span style="color: blue">[Opt3]</span>!</IF>

will display the data in the [Opt3] column in blue or:

<IF [[Opt1]] < "[Year]" <AND> [[Opt2]] <= "5" >Thank you for <strong>[Opt3]</strong>!</IF>

will display the data in the [Opt3] column in bold.

We use standard HTML code with inline CSS style information. You can set the font type, size, color, background color:

<IF [[Opt1]] < "[Year]" <AND> [[Opt2]] <= "5" >Thank you for <span style="background-color: yellow">[Opt3]</span>!</IF>

Continue reading...
 
Top