Visitor UC Student Visitor UC Student Visitor UC Student

Why are my input radio elements greyed out?

277 Views Asked by At

I've got three radio input elements:

<input type="radio" id="visitor" />Visitor
<input type="radio" id="ucstudent" />UC Student
<input type="radio" id="ucemployee" />UC Employee

They are all greyed out (the radio button itself as well as the text). Why? Nothing else on my form is (greyed out).

My .css file does nothing with type="radio", id="visitor", id="ucstudent", or id="ucemployee".

1

There are 1 best solutions below

1
limits On

Add the name attribute to the inputs:

<input type="radio" id="visitor" name="type" />Visitor
<input type="radio" id="ucstudent" name="type" />UC Student
<input type="radio" id="ucemployee" name="type" />UC Employee