On Tue, Sep 29, 2009 at 7:09 AM, Melanie Sommer <[email protected]> wrote: > > Hello, > > Please excuse my bad English, I am not a native speaker. I only > started CakePHP two weaks ago, read a book about it and am now trying > to program my project. I have some experience in php, mysql, html and > css but hardly any knowledge of javascript or ajax. > > I have several tables linked with belongsTo and hasMany. > A -> C -> D -> E > B -> C > F -> E > G -> E > > When adding a new "E" I would like to select first "A" in the "A > select box", which gives me all C that belongTo A in a "C select box" > and when having selected C, the select box for D only shows the > entries belonging to C. > > ( similar like this example: > http://aktuell.de.selfhtml.org/artikel/javascript/verkettete-auswahllisten/beispiel1.htm > ) > > Is there a simple way of doing this with CakePHP?
Sure. I hope it helps: http://tinyurl.com/ycl5aey And know more about the Cake's Ajax helper. http://book.cakephp.org/view/208/AJAX Best regards. -- MARCELO DE F. ANDRADE Belem, PA, Amazonia, Brazil Linux User #221105 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---
