Total members 11889 |It is currently Thu Mar 28, 2024 11:24 pm Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka





I am working on a project making an Online Enrollment for a school district. I am having troubles with adding values. I would like to calculate values for school fees. This is what I have so far. I am sure it is something simple and I have just forgot how to do it.
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>USD 382 Fees</title>
<style type="text/css">
<!--
-->
</style>
</head>

<body>
<p>&nbsp;</p>
<table width="491" border="0" align="center">
  <tr>
    <td colspan="4" bgcolor="#beefc0"><div align="center"><strong>USD 382 Enrollment Fees <br />
    2009-2010</strong></div></td>
  </tr>
  <tr>
    <td width="192">~lastfirst </td>
    <td width="110">~grade</td>
    <td width="36">&nbsp;</td>
    <td width="135">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="3" bgcolor="#edf3fe"><div align="center"><strong>All Schools</strong></div></td>
    <td bgcolor="#edf3fe">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="3">Textbook Rental</td>
    <td><form id="form3" name="form3" method="post" action="">
      <label></label>
      <label>
      <input name="Texbooks" type="radio" id="PHS Yearbook" value="49.75" checked="checked" />
      $49.75</label>
    </form>    </td>
  </tr>
  <tr>
    <td colspan="3">PHS Yearbook - Optional</td>
    <td><form id="form2" name="form2" method="post" action="">
      <label>
      <input type="radio" name="PHS Yearbook" id="PHS Yearbook2" value="$40.00" />
      $40.00</label>
    </form>    </td>
  </tr>
  <tr>
    <td colspan="3">HES/SW/LMS Yearbook - Optional</td>
    <td><form id="form4" name="form4" method="post" action="">
      <label>
        <input type="radio" name="HES/SW/LMS Yearbook" id="HES/SW/LMS Yearbook" value="$15.00" />
        $15.00</label>
    </form>    </td>
  </tr>
  <tr>
    <td colspan="3">Student Activity Ticket - Optional</td>
    <td><form id="form6" name="form6" method="post" action="">
      <label>
        <input type="radio" name="Activity Pass" id="Activity Pass" value="$20.00" />
        $20.00</label>
    </form>    </td>
  </tr>
  <tr>
    <td colspan="3" bgcolor="#EDF3FE"><div align="center"><strong>Haskins/Southwest Only</strong></div></td>
    <td bgcolor="#EDF3FE"><form id="form1" name="form1" method="post" action="">
      <label></label>
    </form>    </td>
  </tr>
  <tr>
    <td colspan="3">Lyceum</td>
    <td><form id="form7" name="form7" method="post" action="">
      <label>
      <input type="radio" name="Lyceum " id="Lyceum " value="$3.00" />
      $3.00</label>
        </form>    </td>
  </tr>
  <tr>
    <td colspan="3">Kindergarten Milk Fee</td>
    <td><form id="form8" name="form8" method="post" action="">
      <label>
        <input type="radio" name="Milk" id="Milk" value="$45.25" />
        $45.25</label>
    </form>    </td>
  </tr>
  <tr>
    <td colspan="3">Southwest Superfrog T-Shirt</td>
    <td><form id="form9" name="form9" method="post" action="">
      <label>
        <input type="radio" name="SW Shirt" id="SW Shirt" value="$7.00" />
        $7.00</label>
    </form>    </td>
  </tr>
  <tr>
    <td colspan="3">Haskins HERO T-Shirt</td>
    <td><form id="form10" name="form10" method="post" action="">
      <label>
        <input type="radio" name="HES Shirt" id="HES Shirt" value="$7.00" />
        $7.00</label>
    </form>    </td>
  </tr>
  <tr>
    <td colspan="3" bgcolor="#EDF3FE"><div align="center"><strong>Liberty Middle School Only</strong></div></td>
    <td bgcolor="#EDF3FE">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="3">Student Handbook</td>
    <td><form id="form11" name="form11" method="post" action="">
      <label>
        <input type="radio" name="Handbook" id="Handbok" value="$5.00" />
        $5.00</label>
    </form>    </td>
  </tr>
  <tr>
    <td colspan="3">Lyceum</td>
    <td><form id="form12" name="form12" method="post" action="">
      <label>
        <input type="radio" name="Lyceum" id="Lyceum" value="$3.00" />
        $3.00</label>
    </form>    </td>
  </tr>
  <tr>
    <td colspan="3">ID Card</td>
    <td><form id="form13" name="form13" method="post" action="">
      <label>
        <input type="radio" name="ID Card" id="ID Card" value="$2.00" />
        $2.00</label>
    </form>    </td>
  </tr>
  <tr>
    <td colspan="3">Padlock Fee</td>
    <td><form id="form14" name="form14" method="post" action="">
      <label>
        <input type="radio" name="Padlock" id="Padlock" value="$1.00" />
        $1.00</label>
    </form>    </td>
  </tr>
  <tr>
    <td colspan="3">Student Dictionary</td>
    <td><form id="form15" name="form15" method="post" action="">
      <label>
        <input type="radio" name="Dictionary" id="Dictionary" value="$3.50" />
        $3.50</label>
    </form>    </td>
  </tr>
  <tr>
    <td colspan="3">Towel Fee/P.E. Uniform (7th/8th only)</td>
    <td><form id="form16" name="form16" method="post" action="">
      <label>
        <input type="radio" name="Towel" id="Towel" value="$7.00" />
        $7.00</label>
    </form>    </td>
  </tr>
  <tr>
    <td colspan="3">Art Supply Fee (7th required -8th optional)</td>
    <td><form id="form17" name="form17" method="post" action="">
      <label>
        <input type="radio" name="Art" id="Art" value="$5.00" />
        $5.00</label>
    </form>    </td>
  </tr>
  <tr>
    <td colspan="3" bgcolor="#EDF3FE"><p align="center"><strong>Pratt High School Only</strong></p>    </td>
    <td bgcolor="#EDF3FE">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="3">Laptop Insurance -9th/New/Claims Filed</td>
    <td><form id="form5" name="form5" method="post" action="">
      <label>
        <input type="radio" name="Laptop" id="Laptop" value="$50.00" />
        $50.00</label>
    </form>    </td>
  </tr>
  <tr>
    <td colspan="3">ID Card</td>
    <td><form id="form18" name="form18" method="post" action="">
      <label>
        <input type="radio" name="ID" id="ID" value="$2.00" />
        $2.00</label>
    </form>    </td>
  </tr>
  <tr>
    <td colspan="3">Art Supply Card - only if enrolled </td>
    <td><form id="form19" name="form19" method="post" action="">
      <label>
        <input type="radio" name="HS Art" id="Art2" value="$8.00" />
        $8.00</label>
    </form>    </td>
  </tr>
  <tr>
    <td colspan="3">Senior Class Dues</td>
    <td><form id="form20" name="form20" method="post" action="">
      <label>
        <input type="radio" name="Senior" id="Senior" value="$8.00" />
        $8.00</label>
    </form>    </td>
  </tr>
  <tr>
    <td colspan="3">Junior Class Dues</td>
    <td><form id="form21" name="form21" method="post" action="">
      <label>
        <input type="radio" name="Junior" id="Junior" value="$6.00" />
        $6.00</label>
    </form>    </td>
  </tr>
  <tr>
    <td colspan="3">Sophomore Class Dues</td>
    <td><form id="form22" name="form22" method="post" action="">
      <label>
        <input type="radio" name="Sophomore" id="Sophomore" value="$4.00" />
        $4.00</label>
    </form>    </td>
  </tr>
  <tr>
    <td colspan="3">Freshmen Class Dues</td>
    <td><form id="form23" name="form23" method="post" action="">
      <label>
        <input type="radio" name="Freshman" id="Freshman" value="$4.00" />
        $4.00</label>
    </form>    </td>
  </tr>
  <tr>
    <td colspan="3">Photography Lab Fee - only if enrolled</td>
    <td><form id="form24" name="form24" method="post" action="">
      <label>
        <input type="radio" name="Photo" id="Photo" value="$15.00" />
        $15.00</label>
    </form>    </td>
  </tr>
  <tr>
    <td colspan="3">PE Uniform - 9th required</td>
    <td><form id="form25" name="form25" method="post" action="">
      <label>
        <input type="radio" name="PE" id="PE" value="$16.00" />
        $16.00</label>
    </form>    </td>
  </tr>
  <tr>
    <td colspan="3">PE Uniform - Weight Training/Lifetime Sports</td>
    <td><form id="form26" name="form26" method="post" action="">
      <label>
<input type="radio" name="Lifetime" id="Lifetime" value="$12.00" />       
$12.00</label>
    </form>    </td>
  </tr>
  <tr>
    <td colspan="3">&nbsp;</td>
    <td><div align="center">
      <form id="form27" name="form27" method="post" action="">
        <label>Click to
          <input type="submit" name="Add" id="Add" value="Add" />
          </label>
      </form>
      </div></td>
  </tr>
  <tr>
    <td colspan="3"><div align="right">Total</div></td>
    <td>&nbsp;</td>
  </tr>
</table>
<p>&nbsp;</p>
</body>
</html>





Author:
Newbie
User avatar Posts: 1
Have thanks: 0 time

there is no calculation in HTML :nea: .HTML is just a presentation language.You have to use dynamic web programming languages like php.

_________________
M. S. Rakha, Ph.D.
Queen's University
Canada


Author:
Mastermind
User avatar Posts: 2715
Have thanks: 74 time
Post new topic Reply to topic  [ 2 posts ] 

  Related Posts  to : I need help with a html code
 How to link a c++ program with HTML code     -  
 display code block using html     -  
 i want code for connecting mobile and pc can u send me code     -  
 Freeman chain code algorithm code     -  
 What are PHP,PSD to HTML ?     -  
 Usage of xmp html tag     -  
 del html tag usage     -  
 HTML Tags -2     -  
 dfn html tag usage     -  
 How to use HTML with JavaScript     -  



cron





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com