moniquedbabin79
New Member
- Messages
- 15
- Reaction score
- 0
- Points
- 0
Hello,
I can't figure out why my radio buttons aren't working properly. For some reason, the way I have them coded allows that they can all be selected at once. As I understand it, when I select one, any button that's already selected should deselect. Does anyone have any idea why my code allows them to all be selected at once?
I'm working on this for an assignment, and I have to include all of the attributes that are included here ("label for," "id," "name," etc. . . . . I realize that some of this may seem superfluous). Here's the code for my buttons:
<label for="proofType">Proofreading</label>
<input type="radio" id="proofType" name="proofType"
value="proofreading" />
</label>
<label for="editType">Editing</label>
<input type="radio" id="editType" name="editType"
value="editing" />
</label>
<label for="writeType">Writing</label>
<input type="radio" id="writeType" name="writeType"
value="writing" />
</label>
<label for="webType">Web Design</label>
<input type="radio" id="webType" name="webType"
value="web" />
</label>
<label for="instructionType">Instruction/Instructional Design
</label>
<input type="radio" id="instructionType" name="instructionType"
value="instructional" />
</label>
Here's a link to the page with the form that contains the radio buttons:
http://mdbabin.x10hosting.com/week7/jobs.htmhttp://mdbabin.x10hosting.com/week7/jobs.htm
This is definitely a work in progress. It's my first site ever, and I'm learning as I go!
Any help that anyone has to offer is much appreciated!
Thanks so much!
M.B.
I can't figure out why my radio buttons aren't working properly. For some reason, the way I have them coded allows that they can all be selected at once. As I understand it, when I select one, any button that's already selected should deselect. Does anyone have any idea why my code allows them to all be selected at once?
I'm working on this for an assignment, and I have to include all of the attributes that are included here ("label for," "id," "name," etc. . . . . I realize that some of this may seem superfluous). Here's the code for my buttons:
<label for="proofType">Proofreading</label>
<input type="radio" id="proofType" name="proofType"
value="proofreading" />
</label>
<label for="editType">Editing</label>
<input type="radio" id="editType" name="editType"
value="editing" />
</label>
<label for="writeType">Writing</label>
<input type="radio" id="writeType" name="writeType"
value="writing" />
</label>
<label for="webType">Web Design</label>
<input type="radio" id="webType" name="webType"
value="web" />
</label>
<label for="instructionType">Instruction/Instructional Design
</label>
<input type="radio" id="instructionType" name="instructionType"
value="instructional" />
</label>
Here's a link to the page with the form that contains the radio buttons:
http://mdbabin.x10hosting.com/week7/jobs.htmhttp://mdbabin.x10hosting.com/week7/jobs.htm
This is definitely a work in progress. It's my first site ever, and I'm learning as I go!
Any help that anyone has to offer is much appreciated!
Thanks so much!
M.B.