Experencia Laboral.php
Código HTML:
Ver original<?PHP
session_start();
$_SESSION['nombreReferenciaEmpre'] = $_POST['nombre-empresa'];
$_SESSION['telefonoReferenciaEmpre'] = $_POST['tel-ref-empresa'];
$_SESSION['emailReferenciaEmpre'] = $_POST['email-ref-empresa'];
$_SESSION['nombreContactoReferenciaEmpre'] = $_POST['contacto-empresa'];
?>
<doctype!>
<link rel="stylesheet" href="estiloformulario.css"> <script type="text/javascript"> function validar(e) { // 1
tecla = (document.all) ? e.keyCode : e.which; // 2
if (tecla==8) return true; // 3
patron =/[A-Zañ-z\s]/; // 4
te = String.fromCharCode(tecla); // 5
return patron.test(te); // 6
}
function numero(e) { // 1
tecla = (document.all) ? e.keyCode : e.which; // 2
if (tecla==8) return true; // 3
patron =/\w/; // 4
te = String.fromCharCode(tecla); // 5
return patron.test(te); // 6
}
<p id="cabeza">TecnoPoint
</p>
<p id="info">Formulario de Reclutamiento
<br><br>(Experiencia Laboral)
</p>
<form action="Informacion Adiccional.php" method="POST">
<br><input title="ingrese el area en que laboro" type="text" name="area-exp-lab" placeholder="Area en la que laboro" onkeypress="return validar(event)" required="">
<br><input title="ingrese el cargo" type="text" name="cargo-exp-lab" placeholder="Cargo que desempeno" onkeypress="return validar(event)" required="">
<br><input title="ingrese un salario" type="text" name="salario-exp-lab" placeholder="salario en cordobas" required="">
<br><input title="ingrese un centro de trabajo" type="text" name="empresa-exp-lab" placeholder="empresa que laboro" onkeypress="return validar(event)" required="">
<br><input title="digite una fecha" type="date" name="fecha-entr-exp-lab" required="">
<br><input title="digite una fecha" type="date" name="fecha-sal-exp-lab" required="">
<br><input type="text" name="motivo-sal-exp-lab" onkeypress="return validar(event)" required="">
<br><select name="estado-lab" onChange="combo(this, 'lista')"> <option> Actualmente trabajando
<br><br><input type="submit" value="siguiente">
<input type="submit" value="inicio" onclick = "location='../aniweblogeado/Aniweblogeado.html'"/>
<!-- <br><br> <p> <a href="Informacion Adiccional.html"> Siguiente</a> </p> -->
Informacion Adiccional.php
Código HTML:
Ver original<?PHP
session_start();
$_SESSION['areaExperiencia'] = $_POST['area-exp-lab'];
$_SESSION['cargoExperiencia'] = $_POST['cargo-exp-lab'];
$_SESSION['salarioExperiencia'] = $_POST['salario-exp-lab'];
$_SESSION['empresaExperiencia'] = $_POST['empresa-exp-lab'];
$_SESSION['fechaEntradaExperiencia'] = $_POST['fecha-entr-exp-lab'];
$_SESSION['fechaSalidaExperiencia'] = $_POST['fecha-sal-exp-lab'];
$_SESSION['motivoSalidaExperiencia'] = $_POST['motivo-sal-exp-lab'];
$_SESSION['estadoLaboralExperiencia'] = $_POST['estado-lab'];
?>
<doctype!>
<link rel="stylesheet" href="estiloformulario.css"> <script type="text/javascript"> function validar(e) { // 1
tecla = (document.all) ? e.keyCode : e.which; // 2
if (tecla==8) return true; // 3
patron =/[A-Za-zñ\s]/; // 4
te = String.fromCharCode(tecla); // 5
return patron.test(te); // 6
}
function numero(e) { // 1
tecla = (document.all) ? e.keyCode : e.which; // 2
if (tecla==8) return true; // 3
patron =/\w/; // 4
te = String.fromCharCode(tecla); // 5
return patron.test(te); // 6
}
<p id="cabeza">TecnoPoint
</p>
<p id="info">Formulario de Reclutamiento
<br><br>(Informacion Adiccional)
</p>
<form action="envio-datos-transac.php" method="POST">
<br><select name="disponibilidad-hora" required="" onChange="combo(this, 'lista')">
<br><select name="vehiculo" required="" onChange="combo(this, 'lista')">
<br><select title="Seleccione un tipo de vehiculo" name="tipo-vehiculo" required="" onChange="combo(this, 'lista')">
<br><input type="text" name="info-adicional">
<!-- <br><br> <p> <a href="Experencia Laboral.html"> Atras</a> </p> -->
<input type="submit" value="inicio" onclick = "location='../aniweblogeado/Aniweblogeado.html'"/>