WordPress.org

Support

Support » Plugins and Hacks » Contact Form 7 » [Resolved] [Plugin: Contact Form 7] Cannot set default value on radio

[Resolved] [Plugin: Contact Form 7] Cannot set default value on radio

  • I am using the following code however CF7 isn’t recognise it and is simply outputting the string onto the frontend

    [radio* ShiftSystem id:shift-system default:1 "Yes" "No"]

    I have tried the ‘default’ parameter in various parts of the string however nothing seems to work. Can anyone see what I’m doing wrong?

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    You can’t put radio*
    [radio* ShiftSystem id:shift-system default:1 "Yes" "No"]

    Since it’s a radio button it is automatically required if a default is set.

    Sorry forgot to edit my copy,
    so just use:
    [radio ShiftSystem id:shift-system default:1 “Yes” “No”]

    Ahhh I see! Sorted now, thanks 😀

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] [Plugin: Contact Form 7] Cannot set default value on radio’ is closed to new replies.
Skip to toolbar