Jump to:

2002 Posts in 1422 Topics by 616 members

Form Questions

SilverStripe Forums » Form Questions » Resolve has_many in TableListField

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

Page: 1
Go to End
Author Topic: 927 Views
  • zenmonkey
    Avatar
    Community Member
    527 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
    215 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.

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