Hi Christopher,

no, I don't use $html->tagErrorMsg ... sorry, i didn't mention that i
use Cake 1.2!!

This is what I do in my view:

echo $form->input('News.image', array('type' => 'hidden', 'error' =>
'Error'));

When put the 'image' field to the $validate array of my News model,
the validation works.

var $validate = array(
'headline' => VALID_NOT_EMPTY,
'image' => '/invalidateworkswiththis/'
);

Anyone?

Thank you, Christoph












--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to