Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, Ed, biapar, Willr, Ingo, swaiba

FilteredDropdownSet and has_many relationships

Go to End



Community Member, 79 Posts

17 December 2011 at 8:47am

Hi Unclecheese,

Just a quick question. I am trying to use FilteredDropdownSet(). Your example uses a has_one relationship so I don't know if it is even possible.

I have a Company Object which has a has_many relationship with Contact and the contact a has_one relationship with Company.

What I am trying to do is select a Company and then just show the members from that specific company for the user to select. This will then return the CompanyID and the ContactID for to record in the object.

Is this possible and I am just doing something wrong or is FilteredDropdownSet() not possible on has_many relationships?