exercise4.htm
<html>
  <head>
    <title>3ο Παράδειγμα</title>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1253">
  </head>
  <body bgcolor="#FFFFCC">
    <p align="left"><font face="Tahoma"><strong>Φόρμα συμπλήρωσης προσωπικών στοιχείων πελάτη </strong></font></p>
    <form name="form1" method="post" action="servlet/DataReceiverServlet">
      <p>&nbsp;</p>
      <table width="50%" border="0">
        <tr>
          <td width="24%"><div align="right"><strong><font face="Tahoma">Όνομα:</font></strong></div></td>
          <td colspan="2"><div align="left">
              <input name="nameField" type="text" id="nameField">
              <strong><font color="#FF0000" face="Tahoma">*</font></strong></div></td>
        </tr>
        <tr>
          <td><div align="right"><strong><font face="Tahoma">Επώνυμο:</font></strong></div></td>
          <td colspan="2"><div align="left">
              <input name="surnameField" type="text" id="surnameField">
              <strong><font color="#FF0000" face="Tahoma">*</font></strong></div></td>
        </tr>
        <tr>
          <td><div align="right"><strong><font face="Tahoma">username:</font></strong></div></td>
          <td colspan="2"><div align="left">
              <input name="usernameField" type="text" id="usernameField">
              <strong><font color="#FF0000" face="Tahoma">*</font></strong></div></td>
        </tr>
        <tr>
          <td><div align="right"><strong><font face="Tahoma">password:</font></strong></div></td>
          <td colspan="2"><input name="passwordField" type="password" id="passwordField">
            <strong><font color="#FF0000" face="Tahoma">*</font></strong></td>
        </tr>
        <tr>
          <td><div align="right"><strong><font face="Tahoma">Ενδιαφέροντα:</font></strong></div></td>
          <td colspan="2"><div align="left">
              <select name="preferencesField" id="preferences">
                <option value="0">---------</option>
                <option value="Αθλητισμός">Αθλητισμός</option>
                <option value="Μουσική">Μουσική</option>
                <option value="Η/Υ">Η/Υ</option>
                <option value="άλλο">άλλο...</option>
              </select>
              <strong><font color="#FF0000" face="Tahoma">*</font></strong></div></td>
        </tr>
        <tr>
          <td height="39"><div align="right"><strong><font face="Tahoma">φύλο:</font></strong></div></td>
          <td colspan="2"> <label>
            <input type="radio" name="genderField" value="Ανδρας">
            Aνδρας </label> <label>
            <input type="radio" name="genderField" value="Γυναίκα">
            Γυναίκα <strong><font color="#FF0000" face="Tahoma">*</font></strong></label>
          </td>
        </tr>
        <tr>
          <td><div align="right"><strong><font face="Tahoma">Είμαι&nbsp;άνω&nbsp;των&nbsp;18</font></strong></div></td>
          <td colspan="2"><input name="ageField" type="checkbox" id="age" value="yes">
            <strong>
            <label> <strong><font color="#FF0000" face="Tahoma">*</font></strong></label>
            </strong></td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td width="15%"><div align="left">
              <input type="submit" name="Submit" value="Επόμενο">
            </div></td>
          <td width="61%"><div align="left">
              <input type="reset" name="Submit2" value="Καθαρισμός Πεδίων">
            </div></td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td colspan="3">
            <div align="center"><strong><font color="#FF0000" face="Tahoma">*</font></strong>
              <font color="#000000" face="Tahoma"><strong>Υποχρεωτικά πεδία</strong></font>
            </div>
          </td>
        </tr>
      </table>
    </form>
  </body>
</html>