title: If Then Else in Infopath (Xpath): how to ?
body: <p>I've a module in InfoPath / Sharepoint, a query field, and some fields.
  I want to perform in formula a simple : </p>
  
  <pre><code>If (Condition) then
     True Condition
  Else 
     False Condition
  </code></pre>
  
  <p>In particular I want to write this formula: </p>
  
  <p>If (FieldA = "") then
     Get FieldB
  else 
     Get FieldA</p>
  
  <p>How to do in InfoPath formula ? </p>
  
  <p>Thanks</p>