• Resolved palidamor

    (@palidamor)


    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

    (@takayukister)

    See Selectable Recipient with Pipes

    You can use it like this:

    
    [radio radio-261 default:1 "Yes|1" "No|0"]
    

    @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.