I shall try and clarify what I am trying to do.

I have a simple form on several static /pages/

it is taking an email address and then submitting this to /subscribers/
controller, and /add action

If this is saved / validated ok, then it will flash and return user to
where they came from.

If it fails validation, I want to REDISPLAY the form, with the
tagErrorMsg showing the relevant error in the form itself.

But I don't know how to get from the section of code in my subscribers
controller after a failed validation, back to the redisplay fo the form
and the error that occuerred. This is to do with the switching from one
controller to another, which I am unclear on how to do. Also how to
pass data between the 2.

cheers
Luke


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

Reply via email to