Support » Plugin: Contact Form 7 » Email data from html form syntax

  • I need to use html form code to use white-space:nowrap on checkboxes. What’s the syntax to get CF7 to send the data? Here is a sample of the code I’m using:

    <b>Check one or more</b>
    <span style=”margin-left:10px;white-space:nowrap;”><input type=checkbox name=item1 value=on> Item 1</span>
    <span style=”margin-left:10px;white-space:nowrap;”><input type=checkbox name=item2> Item 2</span>
    <span style=”margin-left:10px;white-space:nowrap;”><input type=checkbox name=item3> Item 3</span>
    <span style=”margin-left:10px;white-space:nowrap;”><input type=checkbox name=item4> Item 4</span>
    <span style=”margin-left:10px;white-space:nowrap;”><input type=checkbox name=item5> Item 5</span>
    <span style=”margin-left:10px;white-space:nowrap;”><input type=checkbox name=item6> Item 6</span>
    <span style=”margin-left:10px;white-space:nowrap;”><input type=checkbox name=itemN> Item N</span>
    <input type=”checkbox” name=”checkboxArray[]” />

    https://wordpress.org/plugins/contact-form-7/

Viewing 1 replies (of 1 total)
  • Thread Starter alect7

    (@alect7)

    Sorry, The last line is suppose to be the submit button. i.e. <p>[submit “Send”]</p>

    Sorry for any confusion

Viewing 1 replies (of 1 total)
  • The topic ‘Email data from html form syntax’ is closed to new replies.