Reputation: 1
CF7 should automatically require a field selected for radio buttons.
However, in my contact form, I can skip radio buttons.
I tried to include the * symbol but isn't working (as suppose to).
Any ideas on how to make CF7 radio required?
<p class="cf7h1">Approximately how much traffic do you generate per month?</p> <br />
<p class="cf7subh1">It won't be shared.</p>
[radio radio-traffic default:1 use_label_element "Under 10,000" "10,000 to 25,000" "25,000 to 50,000" "Above 50,000"]
Upvotes: 0
Views: 2436
Reputation: 33
radio represents a group of radio buttons ( in HTML). 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.
Check the HTML spec document https://www.w3.org/TR/html401/interact/forms.html#radio.
Upvotes: 1