View Single Post
Old 19-12-2003, 11:07   #3
zoombini
cf.mega poster
 
zoombini's Avatar
 
Join Date: Jun 2003
Location: England
Services: I no longer receive cable services, I blame the inept accounts dept for that.
Posts: 3,732
zoombini has reached the bronze age
zoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze age
Re: Using forms in web pages?

er.... I can post the code if that answers one question, as to what is running on the server thats another that I just rang Up and have asked, someone is going to get back to me.


I think that the page is in HTML with som Javascript - here is a snip.
Code:
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript">
<!--
function MM_callJS(jsStr) { //v2.0
  return eval(jsStr)
}
//-->
</script>



<form name="commission" method="post" action="mailto:emailhere@isp.com" onSubmit="return validateForm(this)" >
  <table width="634" border="0" cellspacing="1">
    <tr> 
      <td width="300" valign="top"><font face="Arial, Helvetica, sans-serif" size="2"><b>1.0 
        Purchaser of equipment</b></font><font face="Arial, Helvetica, sans-serif" size="1"><br>
        </font> <font face="Arial, Helvetica, sans-serif" size="1"> 
        <textarea name="textfield" cols="30"></textarea>
        </font> </td>
      <td width="325" valign="top"> 
        <div align="left"><font face="Arial, Helvetica, sans-serif" size="2"><b>2.0 
          Site Address <font size="1">(if unadopted road, enclose details).</font></b></font><font face="Arial, Helvetica, sans-serif" size="1"><br>
          </font></div>
        <div align="left"> <font face="Arial, Helvetica, sans-serif" size="1"> 
          <textarea name="textfield2" cols="30"></textarea>
          </font></div>
      </td>
    </tr>
    <tr> 
      <td width="300" height="219" valign="top"> 
        <p><font face="Arial, Helvetica, sans-serif" size="2"><b>3.0 System Category</b></font><b><font face="Arial, Helvetica, sans-serif" size="1"> 
          TICK APPROPIATE BOX</font></b></p>
        <p><font face="Arial, Helvetica, sans-serif" size="1">M 
          <input type="checkbox" name="checkbox" value="checkbox">
          L1
cutting out the mass of the middle - Ending in
Code:
 <tr> 
      <td width="300">
        <input type="submit" name="Submit" value="Submit" onClick="MM_callJS('processForm()')">
        <br>
      </td>
      <td width="325"> 
        <div align="left"></div>
      </td>
    </tr>
  </table>
</form>
</body>
</html>
Whats running on the server may be a big problem as its being designed & initially shown/used on the company servers that are running unix. Eventually going up onto our internet providers server but the IT dept think that we only have webspace & nowt else (shows how cheap they are!).

Cheers,
Zoombini
__________________
Not really visiting CF much these days....
If you need me, PM me.
zoombini is offline   Reply With Quote