[eluser]TheFuzzy0ne[/eluser]
OK, I found the problem. With the "for" attribute omitted, the label binds itself to the first forum element in the label, in this case, it's the radio button, and I think that was causing problems. I added an ID to the select box, and the "for" attribute to the label, and all is well. So here's the code now.
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html >
<head>
<title>Delete Forum</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body id="deleteForum">
<h2>Delete forum</h2>
<h3>Forum: Root Forum 3</h3>
<form action="" method="post">
<div>
<label for="move_subforums_to">
<input type="radio" name="action_subforums" value="delete" checked="checked" />Delete subforums<br />
<input type="radio" name="action_subforums" value="move" />Move subforums to:
<select name="move_subforums_to" id="move_subforums_to">
<option value="8">Forums</option>
<option value="9"> Forum 1</option>
<option value="10"> Forum 2</option>
<option value="11"> SubForum 1</option>
<option value="12"> SubForum 2</option>
<option value="13"> Root Forum 1</option>
<option value="14"> Root Forum 2</option>
<option value="15"> Root Forum 3</option>
<option value="16"> Root Forum 3</option>
<option value="17"> Root Forum 3</option>
<option value="18"> Root Forum 3</option>
<option value="19"> Root Forum 3</option>
</select>
</label>
</div>
<div>
<label for="move_topics_to">
<input type="radio" name="action_topics" value="delete" checked="checked" />Delete topics<br />
<input type="radio" name="action_topics" value="move" />Move topics to:
<select name="move_topics_to" id="move_topics_to">
<option value="9">Forum 1</option>
<option value="10">Forum 2</option>
<option value="11"> SubForum 1</option>
<option value="12"> SubForum 2</option>
<option value="13">Root Forum 1</option>
<option value="14">Root Forum 2</option>
<option value="15" disabled="disabled">Root Forum 3</option>
<option value="16">Root Forum 3</option>
<option value="17">Root Forum 3</option>
<option value="18">Root Forum 3</option>
<option value="19">Root Forum 3</option>
</select>
</label>
</div>
<div>
<input type="submit" name="submit" value="Delete Forum"/>
</div>
</form>
</body>
</html>
However, I should add that I don't need the label anyway, it's just habit for me to add them to form elements. However, I'm glad I found the cause of the problem.
Thanks again wiredesigns. Without your suggestion, I'd still be very confused about the issue.