Forums

Change the alert message format

harzenmoser 02 Jan, 2009
I want to change the font and background color of the alert message. As it is shown as "cf_class" i would like to adapt the css file. Can anyone help me on that?

The source code is:
<span class="cf_alert">Please enter the required fields.</span>

I guess it's the style1.css file that i have to update wit the class.
Max_admin 02 Jan, 2009
Hi harzenmoser,

Sorry but where do you get this error message ? in wrong captcha or after the server side validation fails or... ?

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
harzenmoser 02 Jan, 2009
Hi Max

I got some help from Bob (Platinum Chronoengine Boarder) regarding a customized validation. I have entered the server sided Validation:

<?php
global $mainframe;
if ( JRequest::getVar('name') == '' ) return 'Please fill in the required fields';
?>

That one works fine :-)

But the only thing i want to change now is the color (pink) of the alert message background.

Thanx for helping.
GreyHead 03 Jan, 2009
Hi harzenmoser,

I think that it is hard-coded into chroncntact.html.php around lines 274-283

Bob
This topic is locked and no more replies can be posted.