Saturday, June 4, 2011

accessing formdata in controller?

sorry today I stick a bit and need a helping hand as I just cant get a
solution myselfe.

For analysing data I created a controller with no own model using
other models data for the view
I added an index.ctp containing several fields.
i.e. clients, month, year

the clients field is auto populated by the formhelper from the clients
table in database
furthermore I have the month and year fields not linked to any special
models.

No I want to get the follwing:
selecting client, month, year in the index.ctp
passing the data to the controller action calccmy($client,$month,
$year)
having the controller collecting the data
calling a view showhcalccmy presenting the data collected

I stick on my first steps.
How do I get the button calling my selfmade controller-action
How do I access the form-data selected in the index.ctp view?

Thanks in advance!

Michael

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate