Jump to:

1779 Posts in 582 Topics by 556 members

Form Questions

SilverStripe Forums » Form Questions » Resolve has_many in TableListField

Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 783 Views
  • zenmonkey
    Avatar
    Community Member
    483 Posts

    Resolve has_many in TableListField Link to this post

    I'm trying to build an online product order form from a dataobject with a has Many Relation. I've tried building a a tablelist field withy the child dataobject but the form gets unruly as it 1200 items and each has images. Since the images are really tied to the parent object I'd like a TableListField with child dataobject as a nested table list. I'd use the complextabllefield but I don't want to be abale to edit child objects just display them

  • Devlin
    Avatar
    Community Member
    119 Posts

    Re: Resolve has_many in TableListField Link to this post

    HasManyComplexTableField's $template is public, so what about editing $this->template and get rid of everything you don't want.

    783 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.