title: Check if inputs form are empty jQuery
body: <p>How can I check in jQuery if inputs with name denominationcomune_{{loop.index}} and denominationcomune_{{loop.index}} are empty not all inputs ?</p>
  
  <p>I have a twig like this:</p>
  
  <pre><code>&lt;form action="" method="post"&gt;
      {% for mat in mat_temp_array %}
          &lt;input type="text" name="nomentite_{{loop.index}}"/&gt;
          &lt;input type="text" name="denominationcomune_{{loop.index}}" value="{{ mat.denominationcommun }}"/&gt;
          &lt;input type="text" name="denominationcomerce_{{loop.index}}" value="{{ mat.denominationcomerce }}"/&gt;
      {% endfor %}
  
       &lt;input type="submit" class="btn" value="save"/&gt;
  &lt;/form&gt;
  </code></pre>