title: Check multiple null values in if statement using OR and store errors in an array
body: <p>When user submit the form I want to check multiple text fields in a form and check whether it is null or not and it must show which input field is blank</p>
  
  <pre><code>String A = request.getparameter("a");
  String B = request.getparameter("b");
  String C = request.getparameter("c");
  </code></pre>
  
  <pre><code>if(A==null || B==null || C==null)
  {
  
  //Here I want to store the corresponding errors in an arrayfield and it should display which field is empty.
  
  }
  </code></pre>