title: Validate specific input, Javascript
body: <pre><code>&lt;form action="/cgi-bin/Lib.exe" method=POST name="checks"&gt;  
  
       &lt;input type=checkbox name="user1" value="'$NAME'"&gt;      
       &lt;input type=checkbox name="user2" value="'$NAME'"&gt;     
       &lt;input type=checkbox name="user3" value="'$NAME'"&gt;     
  
  &lt;input type="button" value="User 1" onclick="somefunction()"&gt;
  </code></pre>
  
  <p>For example, if I selected checkbox <code>user2</code> I would want the javascript function to pop up saying "you are not user 1..." (all input check boxes are under same form name).</p>
  
  <p>After validation of specific check box name I will do <code>document.checks.submit();</code>   </p>
  
  <p>Thanks.</p>