title: FormCollection Fetch elements by data Attributes
body: <p>How to get attibutes of <code>FormCollection</code>in <code>ActionMethod</code>. A form contains many inputs which are logically grouped with <code>data-*</code> attribute. So based on the <code>data</code> attribute, need to fetch elements from <code>FormCollection</code>.</p>
  
  <p>eg:</p>
  
  <pre><code>&lt;input type='text' data-group='GroupA' name='inp1' /&gt;
  &lt;input type='text' data-group='GroupA' name='inp2' /&gt;
  &lt;input type='text' data-group='GraupB' name='inp3' /&gt;
  </code></pre>
  
  <p>In action method</p>
  
  <pre><code>public ActionResult(FormCollection fc)
  {
    --how to fetch elements which are in GroupA alone  
  }
  </code></pre>
  
  <ol>
  <li>How to fetch elements which are in GroupA alone?  </li>
  </ol>
  
  <p>Any Ideas?</p>