• Resolved archon810

    (@archon810)


    Unlike most fields, the radio button doesn’t seem to support the * (required field) setting – adding * to the radio text breaks the form and treats that part as text.

    The problem is – if nothing is selected in the radio button, and the radio button corresponds to the list of email addresses to send the form to, the form fails without explaining why.

    Sample form:

    <p><span class="tip-us-label">Reason for contact <span class="label-hilight">*</span></span><br />
    [radio email-recipient use_label_element "I want to send a news tip!|tips@XXXXXXXXXXXX.com" "Website feedback|admin+feedback@XXXXXXXXXXXX.com" "Advertising|admin+advertising@XXXXXXXXXXXX.com" "I want to be a contributor|jobs@XXXXXXXXXXXX.com" "Podcast team|podcast@XXXXXXXXXXXX.com" "Other|admin+other@XXXXXXXXXXXX.com"]

    https://wordpress.org/plugins/contact-form-7/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Radio button doesn't have "required field" setting’ is closed to new replies.