I got it. It was just I was misunderstanding all of the parameters. It worked when I did the following:
$mform->disabledIf('submitbutton', 'obtorg', 'eq', NULL);
I got it. It was just I was misunderstanding all of the parameters. It worked when I did the following:
$mform->disabledIf('submitbutton', 'obtorg', 'eq', NULL);