Hi
Im trying to use a HasOneComplexTableField to manage the relationship between a page and a dataobject, below is the code im using to add the field to page. When i use the add button it adds it to the table but its not selected by default, i have to check the radio button to link it to the page. Is there anyway to automatically link the dataobject to the age without having to click the radio button?
$ctf = new HasOneComplexTableField(
$this->owner,
'OpenGraph',
'OpenGraph',
'',
'',
''
);
$ctf->setOneToOne();
$fields->addFieldToTab('Root.FBOpenGraph',$ctf);