Hey guys, i have this little app that i'm having problems with.

the index page lists all the records but in that same index page there
is a form that uses function add in the controller to process the
form, but my problem is that i need a way to display if the user
forgot to enter anything in the input field. i've been looking around
at it seems like the way it is done is with a tagErrorMsg but like i
said, the form is in index.thtml but the form logic is in function
add()...so i can't have function add() tell funcion index() to display
a message to the user to remind him/her to enter something in the
input field.

i've looked at requestAction and elements, but i can't come up with an
answer...so if anybody can point me in the right direction, i would
really appreciate it.


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