22398 Posts in 6752 Topics by 2748 members
|Go to End|
29 April 2010 at 6:41am
I'm trying to disable the possibility to add/edit the datas of my "second object" in my HasOneComplexTableField. All I want is that the user can select one record from the second object of my one to one relationship. When I call setDisabled(true), I can't select a record anymore.
Any help would be appreciated
29 April 2010 at 11:47pm
Perhaps use the setPermissions(array()) to set the permissions to nothing. (no add / edit).
19 November 2010 at 2:36am
$hasOneCTF = new HasOneComplexTableField($this,'Purchaser','Purchaser');
..to allow users to edit a fixed has_one object. But it shows a radio button (that seems to act like a checkbox) on the left of the one record that would allow unsetting the relationship. Is it possible to remove this as the user should not be allowed to do this!
Any information is greatly appreciated!
19 November 2010 at 2:43am
$hasOneCTF->Markable = false;
|Go to Top|