I have created several dataobjects that ia wish users to edit from the front end. I can get the ComplexTableField to display the list of DataObjects associated with the user's account, however I can not get the front end forms to allow adding and editing. Any Thoughts?
Controller
public function libraryDocuments()
{
$fdo = new ComplexTableField(
$this,
'MyDocs',
'LibarayItem',
'',
'CustomCMSFields_forPopup'
);
$fdo->setParentClass(false);
$fields = new FieldSet(array(
new HiddenField('ID', ''),
$fdo,
));
$actions = new FieldSet(array(
new FormAction ('saveLibraryDocs','Save'),
));
//$actions = new FieldSet();
return new Form($this, 'libraryDocuments', $fields, $actions);
}