$form->error wrapped inside div and p tags.

How to display an error message wrapped inside a p tag which is further wrapped inside a div ,using $form->error('field name',array('class'=>'msg msg-error'));

The corresponding html code is:

<div class="msg msg-error">

I'm an error message and I'm proud of it!

Asked by afixisitansu, on 8/3/10

1 Answer


<p><div><?php echo $form->error('field name',array('class'=>'msg msg-error')); ?></div></p>

Answered by dogmatic69on 8/3/10

 {{{code here
}}}

dogmatic69 - on 8/3/10

<< comments | 1 | 2
<< previous next >>

Your Answer

You can use Creole Wiki Syntax to format your text.

Tagged with

Rating

0

Viewed

252 times

Last Activity

on 8/3/10