WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
How to make a 'radio' field a required field. (3 posts)

  1. vestaxpdx_2
    Member
    Posted 3 years ago #

    Hi I cant see any option in the editor when making a radio button.

    I tried adding the * that I have seen in previous text inputs that flag the filed as required but it does not work and the tag just get printed out.

    Example:

    [radio* your-medical-condition "No" "Yes"]

    Surely this is possible?

    Hope someone can help,

    Kind regards,

    Alex

  2. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 3 years ago #

    http://contactform7.com/2009/11/20/checkboxes-radio-buttons-and-menus/

    Note that there is no required version of radio (“radio*”). The reason Contact Form 7 doesn’t provide “radio*” is because a radio button is a required field by nature.

    For your case, I suggest to use 'default' option instead, like this

    [radio your-medical-condition default:1 "No" "Yes"]

  3. vestaxpdx_2
    Member
    Posted 3 years ago #

    Ar yes my bad, thanks for the info, I remember now.

    Thanks again for such an amazing plugin

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic