Hi,
Did you consider using page reloads? Everybody seems to take the -
painful - ajax route, but you might not need to do that.
This means that every time you enter a value in a select box you submit
the page and the next select box is filled using a simple find.
As soon as you submit all fields you can start processing the data.
Regards,
Maurits
On 02/07/2011 08:41 PM, OldWest wrote:
I am currently trying to work out populating select boxes based on the
previous select box. For example, if I am adding a new Item and select a
Product (within the item/add.ctp), and that specific product hasMany
Category, I want the categories that product is associated with to
populate in the category select box, so I don't need to sift through all
unrelated categories.
Can anyone give me some advice on the best route for this or guide me to
a tutorial? Thanks : )
--
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
[email protected] For more
options, visit this group at http://groups.google.com/group/cake-php
--
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
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php