Add CheckBox in Contact Form 7

Add CheckBox in Contact Form 7

Here’s how to add a checkbox to a Contact Form 7 form in WordPress with easy and simple steps:

1. Open Contact Form 7

  • Go to your WordPress dashboard.
  • Navigate to Contact > Contact Forms.

2. Edit or Create a Form

  • Select the form you want to edit or create a new form by clicking “Add New”.

 

3. Add a Checkbox Field

  • In the form editor, place your cursor where you want to add the checkbox.
  • Click the “Checkboxes” button from the toolbar.

4. Configure the Checkbox

  • In the popup:
    • Name: Enter a name for the checkbox group (e.g., your-checkbox).
    • Options: List the options, one per line. To pre-check an option, add a * before it (e.g., *Option 1).
    • Check “Required field?” if you want to make it mandatory.

5. Insert the Checkbox

  • Click “Insert Tag” to add the checkbox code to your form.

6. Save the Form

  • Scroll down and click “Save” to apply the changes.

7. Add the Form to a Page/Post

  • Copy the form’s shortcode from the top of the form editor.
  • Paste it into the page or post where you want the form to appear.

That’s it! Your form now includes checkboxes that users can select.

capital

Leave a Reply