I just tried it and it works really well! Thank you! :)
On Wed, Dec 30, 2009 at 10:35 PM, Alexandru-Emil Lupu
wrote:
> in my Form class object i ave added :
>
>
>
> public function getErrors($v = '')
> {
> foreach ($this->getErrorSchema() as $field=>$error )
> {
> foreach ($error->ge
in my Form class object i ave added :
public function getErrors($v = '')
{
foreach ($this->getErrorSchema() as $field=>$error )
{
foreach ($error->getErrors() as $currentError)
{
$v .= ''.sprintf("In the "%s" tab you have an
error: %s", $field ,
$currentError->getMessage
I have done something like that. I will post my solution later today, as i
haven't yet start my computer
Alecs
sent via htc magic
On Dec 30, 2009 1:37 AM, "Sid Bachtiar" wrote:
Hi all,
I embedded a form inside another form, and I try to print errors (of
all the forms combined) like this in the
Hi all,
I embedded a form inside another form, and I try to print errors (of
all the forms combined) like this in the template:
getErrorSchema()->getErrors()
as $error): ?>
*getMessage(); ?>
It is able to print all the errors as expected