Error Handling on editor forms?
Error Handling on editor forms?
I would like to show error message on editor but i am always getting -
[quote]An error has occurred - Please contact the system administrator[/quote]
IMG Link - http://i.imgur.com/NQZqg.jpg
I would like to show:
aaaa is required, xxxx is required and must be numeric
[code]...
Field::inst( 'aaaa' )
->validator( 'Validate::required' ),
Field::inst( 'xxxx' )
->validator( 'Validate::numeric')
...[/code]
Debug Info - http://debug.datatables.net/eraqoz
[quote]An error has occurred - Please contact the system administrator[/quote]
IMG Link - http://i.imgur.com/NQZqg.jpg
I would like to show:
aaaa is required, xxxx is required and must be numeric
[code]...
Field::inst( 'aaaa' )
->validator( 'Validate::required' ),
Field::inst( 'xxxx' )
->validator( 'Validate::numeric')
...[/code]
Debug Info - http://debug.datatables.net/eraqoz
This discussion has been closed.
Replies
Thanks,
Allan