Title: Custom Radio Button submit value
Last modified: September 16, 2016

---

# Custom Radio Button submit value

 *  Resolved [palidamor](https://wordpress.org/support/users/palidamor/)
 * (@palidamor)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/custom-radio-button-submit-value/)
 * I have a radio button on the form:
 * Are you experiencing any pain?
    [radio radio-261 default:1 “Yes” “No”]
 * and I want to pass a value of 1 or 0 and not ‘yes’ or ‘no’ when sending to the
   email.
 * in the mail setting the message body is experiencingpain::[radio-261]”
 * is there a way to accomplish this?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/custom-radio-button-submit-value/#post-8189176)
 * See [Selectable Recipient with Pipes](http://contactform7.com/selectable-recipient-with-pipes/)
 * You can use it like this:
 *     ```
       [radio radio-261 default:1 "Yes|1" "No|0"]
       ```
   
 *  [vanmanuel83](https://wordpress.org/support/users/vanmanuel83/)
 * (@vanmanuel83)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/custom-radio-button-submit-value/#post-9111761)
 * [@author](https://wordpress.org/support/users/author/)
    There’s a bug in your
   module checkbox.php.
 * In the last plugin update there is no control if the pipes are enables.
    I’ don’t
   know if you lost this last update, but it missing. In my project i edit the plugin
   to use it right (check if WPCF7_USE_PIPE is set to true and use tag->row_values
   instead of tag->values and explode it to get the current value).
 * Hope it will help you
 * Arigato!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Custom Radio Button submit value’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7/reviews/)

## Tags

 * [radio buttons](https://wordpress.org/support/topic-tag/radio-buttons/)

 * 2 replies
 * 3 participants
 * Last reply from: [vanmanuel83](https://wordpress.org/support/users/vanmanuel83/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/custom-radio-button-submit-value/#post-9111761)
 * Status: resolved