ここに私のコードがあり ます..
<tr>
<td> TERMS & CONDITIONS</td>
<td>
1. Tenderer certifies that to the best of his knowledge the particulars furnished as above by him are true, correct, complete and current in every respect. If any stage it is found that information furnished by Tenderer is untrue, inaccurate, incomplete or not-current, Railway reserves its right to reject Tenderer?s offer or terminate his contract beside taking any other legal course of action as deemed fit. 2. Permitting downloading of tender document by Railway is an added facility for convenience of Tenderer/s. Railway, however, reserves right to extend this facility for selected works or continue only with direct sale of tender forms. In case, tender document is not uploaded on website or download failure or incomplete document downloaded, Railway shall not be responsible in anyway. Railway shall not be responsible for any direct/indirect loss of business/profit resulting from inability to use this facility.<br>
3. Tenderer intends to download and print the tender document solely for the purpose of bidding for above work and downloaded document shall not be used, copied or reproduced for any other purpose.
4. 入札者は、入札を提出する際に、入札通知書に規定された形式で、返金不可の入札書類の費用を支払うことに同意します。所定の様式で必要な入札書類の費用を提出しない場合、彼の申し出は拒否されるものとする。6. 入札者は、新聞、ウェブサイト、電子メール、またはその他の手段を通じて、鉄道が発行する入札公告および入札書類の変更について常に最新の状態に保ち、それに応じて行動するものとします。入札者?ダウンロードした入札書類と一緒にすべての修正/正誤表を同封していない場合、オファーは拒否されるものとします。
</td>
</tr>
<tr>
<td> </td>
<td>
<form name="terms" action="#" method="post">
<input type= "radio" name = "term"> Agree
<input type = "radio" name = "term"> Disagree
</form>
</td>
</tr>
<tr>
<td> </td>
<td>
<form>
<input type = "submit" value = "Save" onClick=" return save_form()">
<input type = "reset" name = "reset" onClick="reset_form()">
</form>
</td>
</tr>
</table>
<script type= "text/javaScript">
function save_form()
{
var a= document.getElementById("text1").value;
var b= document.getElementById("text2").value;
var c= document.getElementById("text3").value;
var d= document.getElementById("text4").value;
var e= document.getElementById("text5").value;
var f= document.getElementById("text6").value;
var g= document.getElementById("text7").value;
var h= document.getElementById("text8").value;
var i= document.getElementById("text9").value;
var j= document.getElementById("text10").value;
var atpos= g.indexOf("@");
var dotpos= g.lastIndexOf(".");
if (((document.form.term[0].checked==false) && (terms.term[1].checked==true)) || ((terms.term[0].checked==false) && (terms.term[1].checked==false)))
{
alert(" Agree with our agreement for your submission");
return (false);
}
else
{
alert("You are registered");
return(true);
}
}
しかし、ラジオボタンの検証が機能していません..可能な解決策を提案してください