Related query I have now is this:

I seem to have got the logic/syntax of the validates() within my
controller working now using the above snippet of code (I am not using
the FormWizard class).

So what happens now is that I get the controller to carry out correct
validation based on my model rules, however, I am wondering what I need
to do now in order to echo back relevant messages into the view in
order to let the user know that certain fields have not been filled in
properly?

Can anyone shed some light on this?

My assumptions so far are:

tagErrorMsg() won't work since that only works in conjunction with
save() (if I am understanding right). It certainly doesn't work for me
at the moment.
validate() or validateErrors() would need to be utilised within the
view, but that currently gives me errors if I try to do it and I not
really sure how to plug that into the view code anyway at the moment.

Has someone used this sort of logic before? 

Thanks,

Jason


--~--~---------~--~----~------------~-------~--~----~
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