Ver Mensaje Individual
  #9 (permalink)  
Antiguo 03/10/2012, 22:11
arlene90
 
Fecha de Ingreso: septiembre-2012
Mensajes: 103
Antigüedad: 11 años, 8 meses
Puntos: 0
Respuesta: Problemas con boton limpiar

este es mi formulario talvez no este haciendo algo bien

Código HTML:
<form action="<?php echo $editFormAction; ?>" method="post" name="form2" id="form2">
        <table align="center">
          <tr valign="baseline">
          <td nowrap="nowrap" align="lefth">Cedula:</td>
            <td><span id="sprytextfield4">
              <input name="identificacion" type="text" value="<?php echo htmlentities($row_buscar['cedula'], ENT_COMPAT, 'utf-8'); ?>" size="32" readonly="readonly" />
              <span class="textfieldRequiredMsg">Campo requerido.</span></span></td>
            </tr>
          <tr valign="baseline">
            <td nowrap="nowrap" align="lefth">Nombre:</td>
            <td><span id="sprytextfield3">
              <input name="nombre" type="text" value="<?php echo htmlentities($row_buscar['nombre'], ENT_COMPAT, 'utf-8'); ?>" size="32" readonly="readonly" />
              <span class="textfieldRequiredMsg"> Campo requerido.</span></span></td>
            </tr>
          <tr valign="baseline">
            <td nowrap="nowrap" align="lefth">Primer Apellido:</td>
            <td><span id="sprytextfield2">
              <input name="primer_apellido" type="text" value="<?php echo htmlentities($row_buscar['apellido1'], ENT_COMPAT, 'utf-8'); ?>" size="32" readonly="readonly" />
              <span class="textfieldRequiredMsg"> Campo requerido.</span></span></td>
            </tr>
          <tr valign="baseline">
            <td nowrap="nowrap" align="lefth">Segundo Apellido:</td>
            <td><span id="sprytextfield1">
              <input name="segundo_apellido" type="text" value="<?php echo htmlentities($row_buscar['apellido2'], ENT_COMPAT, 'utf-8'); ?>" size="32" readonly="readonly" />
              <span class="textfieldRequiredMsg">Campo requerido.</span></span></td>
            </tr>
             
          <tr valign="baseline">
            <td nowrap="nowrap" align="lefth">Grado Academico:</td>
            <td><label for="grado_academico"></label>
              <span id="spryselect2">
              <select name="grado_academico" id="grado_academico">
                <option value="" selected="selected">[Seleccione el Grado]</option>
                <option>Bachillerato</option>
                <option>Licenciatura</option>
                <option>Maestria</option>
                <option>Doctorado</option>
              </select>
              <span class="selectRequiredMsg">Seleccione una opción.</span></span></td>
          </tr>          
          
          <tr valign="baseline">
            <td nowrap="nowrap" align="lefth">Especialidad:</td>
            <td><input type="text" name="especialidad" value="" size="32" /></td>
          </tr>
          <tr valign="baseline">
            <td nowrap="nowrap" align="lefth">&nbsp;</td>
            <td><input type="submit" value="Insertar" />
              <input type="button" name="Submit" value="Bot&oacute;n" onclick="borra('identificacion,nombre,primer_apellido,segundo_apellido',this.form2)"><?php echo $mensaje; ?></td>
              
            
              
          </tr>
        </table>
        <input type="hidden" name="MM_insert" value="form2" />
      </form>