title: Lotuscript IF statements
body: <p>I am trying to cycle through multiple fields at once to check if they match a certain value.  For example, a document contains field_1, field_2, field_3 ect. They either have a value of "Yes" or "No".  </p>
  
  <p>The statement would be read like this:<br>
  <code>IF field_1 OR field_2 OR field_3 = "Yes"</code><br>
  I am not trying to test if ALL fields are = to YES.  They should be checked independently. </p>
  
  <p>If it's not too difficult, I would also like to create an IF statement to match 2 group of fields. </p>
  
  <p>Example:<br>
  <code>IF field_1 OR field_2 OR field_3 = "YES"  AND other_1 OR other_2 OR other_3 = "NO"</code></p>