Gabby403 wrote:
>
> Hi Matthew, that seems to have taken us back a step alas
> Catchable fatal error: Argument 4 passed to
> Zend_Dojo_View_Helper_ValidationTextBox::validationTextBox() must be an
> array, null given in
> /home/gabriel/public_html/gomad_test/library/Zend/Dojo/View/Helper/ValidationTextBox.php
> on line 64
>
> $decorators2 = array(
> 'ViewHelper',
> 'Description',
> 'Errors',
> array(array('data' => 'HtmlTag' ), array('tag' => 'span' )),
> array('Label', array('tag' => 'span' )),
> array(array('row' => 'HtmlTag' ),array('tag' =>'div','style' =>
> 'display:none;', 'class' => 'hiddenToReveal')),
> );
>
Sorted, me being a pleb
$decorators = array(
'DijitElement',
'Errors',
array(array('data' => 'HtmlTag'), array('tag' => 'span')),
array('Label', array('tag' => 'span')),
array(array('row' => 'HtmlTag'), array('tag' => 'div')),
);
--
View this message in context:
http://www.nabble.com/Zend-Dojo-Form-adding-decorators-causes-error-tp24567348p24584263.html
Sent from the Zend Framework mailing list archive at Nabble.com.