Re: tagErrorMsg doesn't display

2006-06-07 Thread Mike
Thanks for the suggestion, gwoo. Thanks to PhpNut too, for suggesting that I install the latest version of cake. Now running 1.1.3.2967 and the validation works fine :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Group

Re: tagErrorMsg doesn't display

2006-06-07 Thread gwoo
jump on irc. http://irc.cakephp.org/irc.html there we can help you debug the problem. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com T

Re: tagErrorMsg doesn't display

2006-06-07 Thread Mike
Any ideas, please? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For

Re: tagErrorMsg doesn't display

2006-06-06 Thread Mike
Thanks for the help, but I haven't solved the problem. Unfortunately, validationErrors is always empty, so I tried pr($this->Quote->invalidFields($this->data) which returned the following as expected: Array ( [start_date] => 1 [finish_date] => 1 ) What now? --~--~-~--~~-

Re: tagErrorMsg doesn't display

2006-06-06 Thread nate
First, try this in your controller (after calling validateErrors): pr($this->Quote->validationErrors); See if the model is actually registering the errors with the fields. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google G

Re: tagErrorMsg doesn't display

2006-06-06 Thread Mike
Can anyone help, please? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTE

tagErrorMsg doesn't display

2006-06-05 Thread Mike
I'm using Cake 1.0.1.2708 on PHP 4.3.11 I'm having trouble getting form validation to show errors. Basic example: model: class Quote extends AppModel { var $name = 'Quote'; var $validate = array( 'start_date'=>VALID_NOT_EMPTY, 'finish_date'=>VALID_NOT_EMPTY); } con