Home Products Downloads News Store Support

Maxprog Logo  

Maxprog Support

Knowledge Base

Problem applying styles to a conditional statement result

Topics

Question: When I try to apply styles to a conditional statement result it simply stops working, the tag included in the result is no longer processed and is displayed instead. This is the code I use:

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

Answer: 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>

 Recent questions from our MaxBulk Mailer users

  How can I Cc and/or Bcc a message with MaxBulk Mailer? NEW YouTube Video
  How to extract Contacts from Outlook Mac (OLM File) NEW Screenshot
  Does MaxBulk Mailer supports List-Unsubscribe ? Screenshot
  Trouble with mlm setup, 'The URL is not valid' error. Screenshot
  Problem with importing recipients Screenshot
  451 Error code Screenshot
  Problem sending email to Gmail recipients Screenshot
  What is the meaning of the recipient panel icons Screenshot
  What is the best mail server I can use with MaxBulk Mailer Screenshot
  How can I export my lists to a new computer Screenshot
  How to send a HTML email Screenshot
  How to hide text in my message Screenshot
  Google ending support for less secure apps YouTube Video
  How to add social networks icons to my message Screenshot
  How do I set up an unsubscribe link Screenshot

 Last videos

🔐 Secured by Sectigo SSL | UptimeRobot - Site Loaded properly