title: Typo3 Custom filed on Content Element
body: <p>Can I add a custom field to each content-element where I can add a string? </p>
  
  <p>In typoscript I would be able to read this string and print it in <code>class=""</code> attribute is that possible?</p>
  
  <p>There is the note field for each content element Can I red this in typoscript and paste it in the class attribute?</p>
  
  <pre><code>CONTENT &lt; styles.content.get
  CONTENT.renderObj.stdWrap.dataWrap=&lt;div class="{NOTE??}"&gt;|&lt;/div&gt;
  </code></pre>
  
  <p>Thanks</p>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>Is something like this possible:</p>
  
  <pre><code>CONTENT &lt; styles.content.get
  CONTENT.renderObj.stdWrap {
  
      key.field = layout
  
      4 = TEXT        
  
      4.value = &lt;div class="csc-default blue"&gt;|&lt;/div&gt;
  
  
  
      5 = TEXT
      5.value = &lt;div class="csc-default meineklasse2"&gt;|&lt;/div&gt;
  
  
  
      6 = TEXT
      6.value = &lt;div class="csc-default meineklasse3"&gt;|&lt;/div&gt;
  
  
  
  }
  </code></pre>