WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
Breaking up a radio button? (5 posts)

  1. buskerdog
    Member
    Posted 3 years ago #

    I would like to break up a radio button into a few chunks but use the ID to tie the pieces together.

    For example:

    [radio instrument id:instrument "guitar"] blah blah blah

    [radio instrument id:instrument "piano"] blah blah blah

    [radio instrument id:instrument "drums"] blah blah blah

    And then the [instrument] return in the email would just list which one was chosen. I've been testing it and the email returns blank but I might be messing some other aspect of this up. Should this work or will it not?
    Thanks!

    http://wordpress.org/extend/plugins/contact-form-7/

  2. buskerdog
    Member
    Posted 3 years ago #

    I'm doing testing and it doesn't seem to work. Why? The code that it creates is perfectly legitimate. What can I do to make this work?

  3. buskerdog
    Member
    Posted 3 years ago #

    Just for comparison, here's the code that it creates for a radio button when you don't break it up:
    <input type="radio" name="test" value="test 1" />

    And here's the code it creates when you break it up the way I want:

    <input type="radio" name="instrument" value="violin" />

    And yet the first way works and the second doesn't.

  4. Harrison1990
    Member
    Posted 2 years ago #

    Hi,

    Did you ever get this resolved? I'm having the same issue.

    Thanks,

    Linda

  5. buskerdog
    Member
    Posted 2 years ago #

    No. I gave up.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic