Hi there,
Is it possible to create an ajax submitted form without
lost the validation error messages?
I have a view with this form
<?php
echo $ajax->form(null, 'post', array('update'=> 'someDiv',
'indicator'=> 'divIndicator', 'url'=> array('controller'=> 'comments',
'action'-> 'add')));
echo $form->inputs();
echo $form->end();
?>
But this way the error validation messages doesn't
appear. If I change the $ajax->form to a $form->create,
the whole thing works. But I'd like to keep the indicator
loading message. So, what can I do?
Any help is appreciated.
Best regards.
--
MARCELO DE F. ANDRADE
Belem, PA, Amazonia, Brazil
Linux User #221105
http://mfandrade.wordpress.com
--~--~---------~--~----~------------~-------~--~----~
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]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---