title: jqGrid - Validation of fields
body: <p>I am using jqGrid for inline editing and also when creating new record with the Add button.</p>
  
  <p>For sake of simplicity, say I have 2 fields</p>
  
  <pre><code>Field1   Field2
  </code></pre>
  
  <p>I need the following rules</p>
  
  <ul>
  <li>If user doesn't enter anything in Field1 or Field2, no validation if needed</li>
  <li>If user does enter data, they can enter it in either Field1 or Field2 but not both</li>
  </ul>