Hello this form worked for me, I do not know what happens now.
<form action="cliente_ingresado.php" method="post" >
<div>
<label for="identificacion" >Identificación: </label>
<input type="text" name="identificacion" id="identificacion" required="required"/>
</div>
<div>
<label for="nombre" >Nombre: </label>
<input type="text" name="nombre" id="nombre" required="required"/>
</div>
<div>
<label for="direccion">Dirección: </label>
<input type="text" name="direccion" id="direccion" />
</div>
<div>
<label for="telefono">Teléfono: </label>
<input type="text" id="telefono" name="telefono"/>
</div>
<div>
<label for="correo">Correo: </label>
<input type="email" id="correo" name="correo"/>
</div>
<!--<div>
<label for="sexo">Sexo: </label>
<input type="text" id="sexo" name="sexo"/>
</div> -->
<div>
<label id="label1" name='sexo2'>Turno </label>
<input type='radio' name='Masculino' value='M' checked> Masculino
<input type='radio' name='Femenino' value='F' > Femenino<br><br>
</div>
<div>
<label for="estado_civil">Estado Civil: </label>
<input type="text" id="estado_civil" name="estado_civil"/>
</div>
<div class="button">
<button type="submit" name="submit" onclick="validarFormulario()">Guardar</button>
<button type="button">Limpiar</button>
</div>
When I pass the values to the other page, I get that the variables are not defined
if(isset($_POST['identificacion']) &&
isset($_POST['nombre']) &&
isset($_POST['direccion']) &&
isset($_POST['telefono']) &&
isset($_POST['correo']) &&
//isset($_POST['sexo']) &&
isset($_POST['estado_civil']))
{