Hi .. i need some help here .. i'm a 3rd year student of computer science .. and i'm pretty new to these stuffs ..
my problem is i have to validate the the checkbox and i have to make computations from it ..
here's the code :
<h1><center>LOAN AMOUNT</center></h1>
<br>
<table align="center">
<tr>
<td>Select Loan Amount :</td></tr>
<tr><td><input type="radio" name="loan" value="PHP 5,000.00">PHP 5,000.00</td></tr>
<tr><td><input type="radio" name="loan" value="PHP 10,000.00">PHP 10,000.00</td></tr>
<tr><td><input type="radio" name="loan" value="PHP 15,000.00">PHP 15,000.00</td></tr>
<tr><td><input type="radio" name="loan" value="PHP 20,000.00">PHP 20,000.00</td></tr>
<tr><td><input type="radio" name="loan" value="PHP 25,000.00">PHP 25,000.00</td></tr>
<tr>
<td>Terms of Payment : </td>
</tr>
<tr>
<td><input type="radio" name="pay" value="6 mos.">6 mos.
<input type="radio" name="pay" value="12 mos.">12 mos.
<input type="radio" name="pay" value="24 mos.">24 mos.</td>
</tr>
<tr>
<td>Cooperative Officer : </td>
</tr>
<tr>
<td><input type="checkbox" name="CO" value="Yes">Yes</td>
</tr>
</table>
<br>
<br>
<center>
<input type="submit" name="pass" value="Confirm Loan">
<input type="reset" value="Clear All">
</center>
when the checkbox of "CO" was clicked .. i have to get the interest(5%) of loan amount .. and when it wasn't clicked .. i have to get the interest(10%) of loan amount ..
then i have to show the interest and the original loan amount on the next page .. i'm not pretty sure where do i have to put the computation of this .. so please .. i need help ..
THX in ADVANCE