I will answer my own question :) $html->tagIsInvalid() On Nov 17, 1:13 pm, "Richard" <[EMAIL PROTECTED]> wrote: > Hi, > > I have removed the styling information from the tagErrorMsg method, so > that no automaginess happens when outputting messages. > > This does mean everytime I update cake I will have to update html.php > ... are there any other options? Do you agree that having the > flexibility in surpressing this style information is a good thing? > > Now I can do things like this now: > > // turns my input element background red on error > $html->input('Enquire/name', array($html->tagErrorMsg('Enquire/name', > 'style="background-color:red"')));
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---