Try this: echo $html->image( 'my_image.gif', array( 'alt' => $form->error( 'Model.field', null, array('wrap' => false, 'escape' => false) ) ) );
On Apr 20, 5:40 pm, "marco.rizze...@gmail.com" <marco.rizze...@gmail.com> wrote: > I would use the error message form a data validation like ALT of an > image but I can't to understand ho can I do it? > Has somebody a idea to o it? > Many Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---