title: How do I make wordpress comment fields required?
body: <p>Here is my form:</p>
  
  <pre><code>&lt;form action="&lt;?php echo get_option('siteurl'); ?&gt;/wp-comments-post.php" method="post" id="commentform" class="validate"&gt;  
     &lt;?php if($user_ID) : ?&gt;  
     &lt;?php else : ?&gt;
     &lt;div class="label_container"&gt;
        &lt;div class="left"&gt;
           &lt;label for="author" class="label label_name"&gt;Name*&lt;/label&gt;                 
        &lt;/div&gt;
        &lt;div class="right"&gt;
           &lt;label for="email" class="label label_email"&gt;Email*&lt;/label&gt;              
        &lt;/div&gt;
        &lt;/div&gt;
     &lt;div class="input_container"&gt;
        &lt;input id="name" name="author" class="required input_text input_name" type="text" value="" /&gt; 
        &lt;input id="email" name="email" class="required input_text email input_email" type="text" value="" /&gt;
     &lt;/div&gt;         
     &lt;?php endif; ?&gt;
        &lt;div class="label_container"&gt; 
           &lt;label for="comment" class="label label_comment"&gt;Comment&lt;/label&gt;                 
        &lt;/div&gt;
     &lt;textarea id="comment_box" class="required input_comment" name="comment" cols="40" rows="6"&gt;&lt;/textarea&gt;   
     &lt;p&gt;&lt;input name="submit" class="input_submit" type="submit" id="submit" tabindex="5" value="Submit Comment" /&gt;  
     &lt;input type="hidden" name="comment_post_ID" value="&lt;?php echo $id; ?&gt;" /&gt;&lt;/p&gt;  
     &lt;input type="hidden" id="redirect_to" name="redirect_to" value="&lt;?php echo get_bloginfo('wpurl');?&gt;/comment"&gt;
     &lt;?php do_action('comment_form', $post-&gt;ID); ?&gt;  
  &lt;/form&gt;
  </code></pre>
  
  <p>I have required fields on all inputs, but it is only working on the comment text field.</p>
  
  <p>Any ideas?</p>