Title: Checkbox added validation error
Last modified: August 31, 2016

---

# Checkbox added validation error

 *  [Darktorr](https://wordpress.org/support/users/darktorr/)
 * (@darktorr)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/checkbox-added-validation-error/)
 * Good evening,
    Your plugin is really awesome but I had found a problem I can’t
   solve by myself. I read in another forum the way to add a checkbox to comment
   area, (it’s necessary to accept our terms and conditions). The problem I have,
   is that it can’t get through validation, cause I get the error:
 * > TypeError: e[w] is not a functionk @ validator.min.js?ver=1.0.0:2o @ validator.
   > min.js?ver=1.0.0:2(anonymous function) @ validator.min.js?ver=1.0.0:2n.extend.
   > each @ jquery.js?ver=1.12.3:2n.fn.n.each @ jquery.js?ver=1.12.3:2n @ validator.
   > min.js?ver=1.0.0:2(anonymous function) @ wpdiscuz.min.js?ver=3.2.8:2n.event.
   > dispatch @ jquery.js?ver=1.12.3:3r.handle @ jquery.js?ver=1.12.3:3
 * What I have done so far is just edit file class.WpdiscuzHelper.php
    and add the
   line:
 *     ```
       <div class="wc_terms_checkbox" style="display:block">
   
                                           <input type="checkbox" id="wpdiscuz_terms" value="terms" name="wpdiscuz_terms" class="wc_terms-<?php echo $uniqueId; ?>">
                                           <label class="wc-label-comment-notify" for="wc_notification_new_comment-0_0"><?php echo __('I accept the <a href="privacidad" target="_blank">terms and Conditions</a>', 'wpdiscuz'); ?></label>
                                       </div>
       ```
   
 * just before
    `<input type="button" class="wc_comm_submit button alt" value="<?
   php echo $this->optionsSerialized->phrases['wc_submit_text']; ?>" name="submit"
   >`
 * Could you please help me?
 * [https://wordpress.org/plugins/wpdiscuz/](https://wordpress.org/plugins/wpdiscuz/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [gVectors Team](https://wordpress.org/support/users/gvectors-team/)
 * (@gvectors-team)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/checkbox-added-validation-error/#post-7438888)
 * I’m sorry but current wpDiscuz version doesn’t support this, I have no clue for
   your customization. Please wait for the next 3.3.0 version, it comes with comment
   form custom fields. We’re planning to release it this month.

Viewing 1 replies (of 1 total)

The topic ‘Checkbox added validation error’ is closed to new replies.

 * ![](https://ps.w.org/wpdiscuz/assets/icon-256x256.png?rev=1076265)
 * [Comments - wpDiscuz](https://wordpress.org/plugins/wpdiscuz/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpdiscuz/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpdiscuz/)
 * [Active Topics](https://wordpress.org/support/plugin/wpdiscuz/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpdiscuz/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpdiscuz/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [gVectors Team](https://wordpress.org/support/users/gvectors-team/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/checkbox-added-validation-error/#post-7438888)
 * Status: not resolved