Er det muligt at lave en sammenregning af beløb på formular?
Vi er en studenterrevy, der skal sælge billetter på nettet. De koster 60,- stykket (der er gebyr på 15,- pr. bestilling). Kan det sammenregnes i et felt på siden?Jeg vedhæfter html-koden hvis der er en venlig sjæl der gider hjælpe:
<style>
<!--
li.MsoNormal
{mso-style-parent:"";
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";
margin-left:0cm; margin-right:0cm; margin-top:0cm}
-->
</style>
<body>
<FORM method="post" action="http://www.hha-revyen.dk/cgi-bin/FormMail.pl">
<input type=hidden name="return_link_title" value="Tilbage til forsiden">
<input type=hidden name="return_link_url" value="http://www.hha-revyen.dk/news.php">
<input type=hidden name="Ekspeditionsgebyr" value="15 kr.">
<input type="hidden" name="recipient" value="billet@hha-revyen.dk">
<input type="hidden" name="subject" value="Billetbestilling">
<input type="hidden" name="required" value="Fornavn,Efternavn,Adresse,Postnr,By,Tlf,email">
<input type=hidden name="title" value="Tak for din bestilling">
<input type=hidden name="redirect" value="http://www.hha-revyen.dk/viewpage.php?page_id=38">
<input type="hidden" name="missing_fields_redirect" value="http://www.hha-revyen.dk/viewpage.php?page_id=39">
<div style="width: 733; height: 171">
</div>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="105" id="AutoNumber2" height="215">
<tr>
<td width="28px" height="200">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100px" id="AutoNumber3">
<tr>
<td width="16px">Fornavn:</td>
<td width="84px">
<input type="text" name="Fornavn" input size="20"></td>
</tr>
<tr>
<td width="16px">Efternavn:</td>
<td width="84px">
<input type="text" name="Efternavn" input size="20"></td>
</tr>
<tr>
<td width="16px">Adresse:</td>
<td width="84px">
<input type="text" name="Adresse" input size="20"></td>
</tr>
<tr>
<td width="16px">Postnr.:</td>
<td width="84px">
<input type="text" name="Postnr" input size="4" maxlength="4"></td>
</tr>
<tr>
<td width="16px">By:</td>
<td width="84px">
<input type="text" name="By" input size="20"></td>
</tr>
<tr>
<td width="16px">Telefonnr:</td>
<td width="84px">
<input type="text" name="Tlf" input size="8" maxlength="8"></td>
</tr>
<tr>
<td width="16px">Email:</td>
<td width="84px">
<input type="text" name="email" input size="20"></td>
</tr>
<tr>
<td width="16px"> </td>
<td width="84px"> </td>
</tr>
<tr>
<td width="16px"> </td>
<td width="84px"> </td>
</tr>
</table>
<td width="77" height="200">
<table border="0">
<tr>
<td> </td>
</tr>
</table>
<td width="30" height="200">
<table border="0">
<tr>
<td> </td>
</tr>
</table>
</td>
<td width="72px" height="200">
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="475" id="AutoNumber4" height="205">
<tr>
<td width="523" height="39"> </td>
<td width="22" height="39"> </td>
<td width="28" height="39"> </td>
<td width="7" height="39"> </td>
<td width="49" height="39" align="center">
<p>Antal</td>
<td width="119" height="39" align="left">
</td>
</tr>
<tr>
<td width="539" bgcolor="#4C74B1" height="33"> onsdag</td>
<td width="22" bgcolor="#4C74B1" height="33"> </td>
<td width="28" height="33">
<p align="right">60,-</td>
<td width="7" height="33" align="right"> </td>
<td width="49" height="33" align="center">
<input type="text" name="Billetter til onsdag á 60 kr." maxlength="2" input size="2"></td>
<td width="119" height="33" align="left">
</td>
</tr>
<tr>
<td width="539" bgcolor="#95C6EB" height="34"> torsdag</td>
<td width="22" bgcolor="#95C6EB" height="34"> </td>
<td width="28" height="34">
<p align="right">60,-</td>
<td width="7" height="34" align="right"> </td>
<td width="49" height="34" align="center">
<input type="text" name="Billetter til torsdag á 60 kr." maxlength="2" input size="2"></td>
<td width="119" height="34" align="left">
</td>
</tr>
<tr>
<td width="539" bgcolor="#4C74B1" height="34"> fredag</td>
<td width="22" bgcolor="#4C74B1" height="34"> </td>
<td width="28" height="34">
<p align="right">60,-</td>
<td width="7" height="34" align="right"> </td>
<td width="49" height="34" align="center">
<input type="text" name="Billetter til fredag á 60 kr." maxlength="2" input size="2"></td>
<td width="119" height="34" align="left">
</td>
</tr>
<tr>
<td width="539" bgcolor="#95C6EB" height="34"> lørdag</td>
<td width="22" bgcolor="#95C6EB" height="34"> </td>
<td width="28" height="34">
<p align="right">60,-</td>
<td width="7" height="34" align="right"> </td>
<td width="49" height="34" align="center">
<input type="text" name="Billetter til lørdag á 60 kr." maxlength="2" input size="2"></td>
<td width="119" height="34" align="left">
</td>
</tr>
<tr>
<td width="523" height="12"></td>
<td width="22" height="12"></td>
<td width="28" height="12"></td>
<td width="7" height="12"></td>
<td width="49" height="12"></td>
<td width="119" height="12"></td>
</tr>
<tr>
<td width="523" height="31"><font color="black"><i>Ekspeditionsgebyr pr. bestilling: 15,- kr.</i></font></td>
<td width="22" height="31"> </td>
<td width="28" height="31"> </td>
<td width="7" height="31"> </td>
<td width="49" height="31"> </td>
<td width="119" height="31"> </td>
</tr>
<tr>
<td width="523" height="19">
<INPUT type=submit value="Send bestilling"></td>
<td width="22" height="19"> </td>
<td width="28" height="19"> </td>
<td width="7" height="19"> </td>
<td width="49" height="19"> </td>
<td width="119" height="19"> </td>
</tr>
</table>
</center>
</div>
</td>
</tr>
<tr>
<td width="28px" height="15"> </td>
<td width="77" height="15"> </td>
</tr>
</table>
<p> </p>
</FORM>
