Support » Plugin: Contact Form Manager » reCaptcha missing closing DIV

  • Resolved Travis Tubbs


    When using the reCaptcha option in Content Form Manager, I noticed it’s not closing out one of the DIVs properly. When not using any CSS and only the the reCaptcha form field in the created form, here is the code it outputs:

    <script type="text/javascript">
      var xyz_cfm_date_format = "m/d/Y";
      function xyz_cfm_1_1_check() {
        var xyz_cfm_client_error = 0;
        if(xyz_cfm_client_error == 1) {
          return false;
    <div id="xyz_cfm_siteFormContact_1_success" style="background: #C8FCBB;  text-align: center;  border-radius: 15px; margin-bottom: 20px;"></div>
    <form name="xyz_cfm_1_1" method="POST" id="xyz_cfm_1_1" enctype="multipart/form-data" onSubmit="return xyz_cfm_1_1_check();">
      <div id="reCaptchaDiv_6_1"></div>
      <span style="color:red;">*</span>
      <script type="text/javascript" src=""></script>
      <script type="text/javascript">
        Recaptcha.create("6LcY0e4SAAAAAO1puY1LdrlzwIm-EguO6jP5MTl2","reCaptchaDiv_6_1", {theme: "clean"});
      <input type="hidden" name="xyz_cfm_hiddenReCaptcha" value="1" id="xyz_cfm_reCaptcha_6_1">
      <div style="font-weight: normal;color:red;" id="captcha_siteFormContactConfirm_6_1">
        <input type ="hidden" name="xyz_cfm_frmName_1"  value="siteFormContact" >

    If you notice the field with ID captcha_siteFormContactConfirm_6_1 near the end doesn’t close its DIV. I see Line 1318 in create-contact-form.php is where this is created but I’m not sure your intent was on where the closing tag should be placed.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘reCaptcha missing closing DIV’ is closed to new replies.