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.

Form Questions /

Resolve has_many in TableListField


Reply


2 Posts   974 Views

Avatar
zenmonkey

Community Member, 528 Posts

30 March 2011 at 3:55am

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

Avatar
Devlin

Community Member, 215 Posts

30 March 2011 at 8:53am

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