put key error in input options.
echo $this->Form->input('orgao_id', array('div' => false, 'class' =>
'text-input small-input', 'label' => 'Orgão', 'empty' => 'Selecione',
'error' => array('wrap'=>'span','class' => 'input-notification error
png_bg')) );
Em sexta-feira, 18 de janeiro de 2013 19h35min56s UTC-3, Michael escreveu:
>
> So because of how I am dynamically creating my form inputs/save data, the
> standard rule validation msg isnt being displayed on the input when the
> save rule returns false. How do I manually trigger the msg to appear on a
> given input? Thanks
>
>
> ~Michael
>
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
Visit this group at http://groups.google.com/group/cake-php?hl=en.