I am new to cakePHP and am in the process of learning to use it. I am wondering how I can have a form element populated with elements from a different table than the model, for example
I am wanting to write a farm manager using cakePHP as the framework, if I have fields that belong to farms, when you create a new field I want to be able to select from a list of farms, and have it link (insert farm's id as a foreign key), I have currently setup my belongsto relationship so I can view but I cannot add. my original thought was to create a $options array and just loop through the table, but I cannot do that if I do not have access to the farms table. Help! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
