Contact Form 7
[resolved] How to get value of radio buttons and checkboxes? (2 posts)

  1. Xavvi
    Posted 3 years ago #


    This is a pretty basic question but I can't work it out!

    I have some checkboxes and radio buttons on my form but I want the email I receive to show me what the user selected. How do I do that? This is the radio button example:

    [radio class:hosting label_first use_label_element "Yes" "No" "Not sure"]

    I have this in my mail settings:

    Hosting: [hosting]

    But it just shows [hosting] in the email I get. Any ideas?


  2. Xavvi
    Posted 3 years ago #

    Fixed it. Removed class= in the bit that says class:hosting

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form 7
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic