$errorsAndAlerts: Two different font styles, or using an image?

3 posts by 2 authors in: Forums > CMS Builder
Last Post: September 19, 2011   (RSS)

Re: [Keltam2] $errorsAndAlerts: Two different font styles, or using an image?

By Jason - September 19, 2011

Hi Kelly,

$errorsAndAlerts is just a string variable, so you can add any HTML you want to it.

For example:

$errorsAndAlerts .= "<div style = 'color:red;'>This Message is Red</div> <br/> ";
$errorsAndAlerts .= "<div style = 'color:green;'>This Message is Green</div> <br/> ";


You can also add in html for an image.

Example:

$errorsAndAlerts = "<img src = 'my_error_message.jpg' />";

Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] $errorsAndAlerts: Two different font styles, or using an image?

By Keltam2 - September 19, 2011

Perfect! Thanks so much!