WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Contact Form 7] Missing checkboxes and radio buttons

[Resolved] [Plugin: Contact Form 7] Missing checkboxes and radio buttons

  • RasmusWebitall

    @rasmuswebitall

    I have this problem on multiple wordpress-sites.
    In this wordpress http://demo.wp.w1a.dk/bestilling/ there should a checkbox after the word ‘testd’ in the bottom, but there is not – only empty
    span’s in the source.

    I add them by copying the generated code from the dropbox-wizard, also tried directly into the HTML.

    What could be wrong?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Takayuki Miyoshi

    @takayukister

    How have you set in the Form field? What should be there in the checkbox?

    RasmusWebitall

    @rasmuswebitall

    This is the formular code:

    <table width="600" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td>Dit navn (påkrævet)</td>
        <td> </td>
        <td>[text* your-name] </td>
      </tr>
      <tr>
        <td>Din e-mail (påkrævet)</td>
        <td> </td>
        <td>[email* your-email] </td>
      </tr>
      <tr>
        <td>Emne</td>
        <td> </td>
        <td>[text your-subject] </td>
      </tr>
      <tr>
        <td valign="top">Din besked</td>
        <td> </td>
        <td>[textarea your-message] </td>
      </tr>
      <tr>
        <td> </td>
        <td> </td>
      <td>Kundetæller: [checkbox Kundetaeller]</td>
    </tr>
    <tr>
      <td> </td>
      <td> </td>
      <td>[submit "Send"]</td>
    </tr>
    </table>

    I also included [Kundetaeller] in Message

    The source for the “Kundetæller” cell looks like this:
    <td>Kundetæller: <span class="wpcf7-form-control-wrap Kundetaeller"><span class="wpcf7-checkbox"></span></span></td>

    Plugin Author Takayuki Miyoshi

    @takayukister

    It’s not surprising. Because the checkbox tag has no option.

    <td>Kundetæller: [checkbox Kundetaeller]</td>

    Read this first and learn how to use [checkbox] tags

    http://contactform7.com/2009/11/20/checkboxes-radio-buttons-and-menus/

    RasmusWebitall

    @rasmuswebitall

    Ah, it works! Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] [Plugin: Contact Form 7] Missing checkboxes and radio buttons’ is closed to new replies.