Jump to:

1969 Posts in 1272 Topics by 606 members

Form Questions

SilverStripe Forums » Form Questions » DependentDropdownField

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 352 Views
  • Drumstick
    Avatar
    Community Member
    20 Posts

    DependentDropdownField Link to this post

    Hi

    Does someone understand how to use correct the DependentDropdownField?

    Like this it doesn't work...

    DropdownField::create('ProductCategoryItem','ProductCategoryItem',$map1),

    DependentDropdownField::create('ProductCategoryItem', 'ProductSubcategoryItem',
    $map1,
    $map2[1]
    ),

    Thanks for a tip.

  • Andre
    Avatar
    Community Member
    125 Posts

    Re: DependentDropdownField Link to this post

    Hi there, I have the same question.

    The Modules Description looks promising, but I have no Idea how to have two collections, where one is depending on the other (typical has_many relation) and map this to a dropdown and dependentdropdown field.

    Anyone here who got that ever to run?

    kind regards

    352 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.