title: How to use a condition in a static text field?
body: <p>I'm using condition to print field values.My condition is if isList == "list" then print value of region_name.Following codes works fine.</p>
  
  <pre><code>&lt;textFieldExpression&gt;&lt;![CDATA[($F{isList} == "list" ? "" : $F{region_name})]]&gt;&lt;/textFieldExpression&gt;
  </code></pre>
  
  <p>But now I need to print static text using condition too. When I'am using same method,it doesn't work.It shows "($F" instead of static text.  </p>
  
  <p><code>&lt;text&gt;&lt;![CDATA[($F{isList} == "list" ? "Region:" : "")]]&gt;&lt;/text&gt;</code></p>
  
  <p><a href="https://i.stack.imgur.com/RyK4h.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RyK4h.png" alt="Example"></a></p>
  
  <p>What is wrong ? How I can fix it ? </p>