WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
[resolved] Missing checkboxes and radio buttons (5 posts)

  1. RasmusWebitall
    Member
    Posted 4 years ago #

    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?

  2. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 4 years ago #

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

  3. RasmusWebitall
    Member
    Posted 3 years ago #

    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>

  4. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 3 years ago #

    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/

  5. RasmusWebitall
    Member
    Posted 3 years ago #

    Ah, it works! Thank you.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic