Ver Mensaje Individual
  #3 (permalink)  
Antiguo 16/06/2009, 03:22
una_xikilla
 
Fecha de Ingreso: agosto-2008
Mensajes: 161
Antigüedad: 16 años, 6 meses
Puntos: 0
Respuesta: Ayuda: Validar menu desplegable!!!

Todo el código no lo puedo poner porque es muy largo, pero aquí va un cacho:

Código:
 <form name="form1" method="post" action="insertar_usuario.php" onSubmit="return validar_formulario();">
            <table width="90%" align="center" bgcolor="#FFFF66">
              <tr>
                <td width="35%" align="right"><span class="FuenteRegistro">Nombre*</span></td>
                <td><input name="nombre" type="text" id="nombre" size="40" maxlength="40" ></td>
              </tr>
              <tr>
                <td align="right"><span class="FuenteRegistro">Apellidos*</span></td>
                <td align="left"><input name="apellidos" type="text" id="apellidos" size="40" maxlength="40"></td>
              </tr>
              <tr>
                <td align="right"><span class="FuenteRegistro">Fecha de Nacimiento* </span></td>
                <td align="left"><? require ("Calendario/calendario.php");  escribe_formulario_fecha_vacio("FechaNacimiento","form1");?></td>
				<td align="left">&nbsp;</td>
                </tr>
 <tr>
                <td align="right" class="FuenteRegistro">
                  Nif*
                  <label for="radio3"></label>
                  <label for="radio2"></label></td><td class="FuenteRegistro"><label for="label14"></label>
                    <input name="Nif" type="text" id="Nif" size="9" maxlength="9"> 
                    (dni + letra) </td>
              </tr>
 <tr>
                <td align="right" class="FuenteRegistro">Estado Civil* </td>
                <td class="FuenteRegistro"><label for="label16"></label>
                    <select name="estadoCivil" id="estadoCivil">
                      <option> </option>
                      <option>soltero/a</option>
                      <option>casado/a</option>
                      <option>divorciado/a</option>
                      <option>viudo/a</option>
                    </select>                </td>
              </tr>
</table>
			<table width="100%">
              <tr>
                <td width="80%"><img src="imagenes/guardar.PNG" width="288" height="32" hspace="150" /></td>
                <td width="20%"><input name="image" type="image" src="imagenes/siguiente.PNG" /></td>
              </tr>
            </table>
			</form>