Build a Survey Form - Help

Hello everyone. I’ve created a complete survey form. But there’s still one error that I encounter. I need your help.
Error: “Every radio button group should have at least 2 radio buttons.”

 <div class="form-group">
         <p>Select your current role</p>
         <label>
             <input type="radio" value="student" class="input-radio" name="student" checked>Student</input> 
         </label>
         <label>
             <input type="radio" value="worker" name="worker" class="input-radio">Worker</input> 
         </label>
       </div>

Hello.
To create a group of inputs, give your input buttons the same name attribute value.

1 Like