title: TYPO3 FlexForm: how to disable field in inline element?
body: <p>I have a TYPO3 plugin with a FlexForm. In the FlexForm I added relations to a foreign table. I now need to disable some of the fields of the foreign table. I can't do this via user rights since it's a question of context, not rights.</p>
  
  <p>My FlexForm looks like this:</p>
  
  <pre><code>&lt;settings.moreinfo&gt;
      &lt;TCEforms&gt;
          &lt;label&gt;my label&lt;/label&gt;
          &lt;config&gt;
              &lt;type&gt;inline&lt;/type&gt;
              &lt;foreign_table&gt;tx_foo_domain_model_bar&lt;/foreign_table&gt;
              &lt;foreign_field&gt;content_uid&lt;/foreign_field&gt;
              &lt;foreign_sortby&gt;sorting&lt;/foreign_sortby&gt;
              &lt;maxitems&gt;50&lt;/maxitems&gt;
          &lt;/config&gt;
      &lt;/TCEforms&gt;
  &lt;/settings.moreinfo&gt;
  </code></pre>
  
  <p>I thought about <code>TCEFORM</code>, but have no idea how to address the field:</p>
  
  <pre><code>TCEFORM.tt_content.pi_flexform.foobar.general {
    settings\.moreinfo {
      # maybe here?
    }
  }
  </code></pre>
  
  <p>Is there any possibility to disable a field via TSconfig or PHP?</p>