Jump to:

2012 Posts in 1438 Topics by 621 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: 952 Views
  • zenmonkey
    Community Member
    528 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
    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.

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.