【发布时间】:2015-07-03 13:48:23
【问题描述】:
帮助。我不是程序员,而是历史学家。我正在尝试创建一个单选按钮表单,以便当我单击不同子组中的表单按钮,然后点击提交时,我会得到一个包含单选按钮选择文本的文本框。
这是我目前所拥有的。我需要的是允许打印的java代码。希望人们能弄清楚我想要做什么并提供帮助。
<HTML>
<HEAD>
<TITLE>Paper Comments</TITLE>
<SCRIPT LANGUAGE = "Javascript">
</SCRIPT>
</HEAD>
<BODY>
<FORM NAME="frmOne" ACTION="" METHOD="POST">
<P>
<INPUT TYPE="Radio" Name="thesis" Value="thesis4"> Thesis is explicit and clear<br>
<INPUT TYPE="Radio" Name="thesis" Value="thesis3"> Thesis is clear<br>
<INPUT TYPE="Radio" Name="thesis" Value="thesis2">Thesis unclear but decipherable<br>
<INPUT TYPE="Radio" Name="thesis" Value="thesis1"> Thesis is vague<br>
<INPUT TYPE="Radio" Name="thesis" Value="thesis0"> No Thesis<br>
<INPUT TYPE="Radio" Name="thesis" Value="thesisnone"> Answer this question here. The answer would be the thesis.<br>
</P>
<P>
<INPUT TYPE="Radio" Name="intro" Value=“intro4”> Introduction provides direction<br>
<INPUT TYPE="Radio" Name="intro" Value=“intro3”> Introduction provides some direction <br>
<INPUT TYPE="Radio" Name="intro" Value="intro2">Introduction provides little direction<br>
<INPUT TYPE="Radio" Name=“intro” Value="intro1">Introduction provides no direction<br></P>
<INPUT TYPE="button" VALUE=" SUBMIT " onClick="validate()">
</FORM>
</BODY>
</HTML>
【问题讨论】: