[et_pb_section fb_built=»1″ _builder_version=»3.17.2″][et_pb_row _builder_version=»3.17.2″][et_pb_column type=»4_4″ _builder_version=»3.17.2″ parallax=»off» parallax_method=»on»][et_pb_code _builder_version=»3.17.2″]<!– Codigo que se encarga del registro –><!– [et_pb_line_break_holder] –><script><!– [et_pb_line_break_holder] –><!– [et_pb_line_break_holder] –>/*document.getElementById("et_pb_contact_contraseña_1").type = 'password';<!– [et_pb_line_break_holder] –>myForm = document.getElementById("et_pb_contact_contraseña_1").parentElement.parentElement;*/<!– [et_pb_line_break_holder] –><!– [et_pb_line_break_holder] –>window.addEventListener("load", function() {<!– [et_pb_line_break_holder] –> document.getElementById('my-form').addEventListener("submit", function(e) {<!– [et_pb_line_break_holder] –> e.preventDefault(); // before the code<!– [et_pb_line_break_holder] –> //get form data<!– [et_pb_line_break_holder] –> var postData = "";<!– [et_pb_line_break_holder] –> if(document.getElementById('clubForm').checked)<!– [et_pb_line_break_holder] –> postData+="tipo=club";<!– [et_pb_line_break_holder] –> if(document.getElementById('jugadorForm').checked)<!– [et_pb_line_break_holder] –> postData+="tipo=jugador";<!– [et_pb_line_break_holder] –> if(document.getElementById('entrenadorForm').checked)<!– [et_pb_line_break_holder] –> postData+="tipo=entrenador";<!– [et_pb_line_break_holder] –> postData+="&nombre="+ document.getElementById('nombreForm').value;<!– [et_pb_line_break_holder] –> postData+="&email="+ document.getElementById('emailForm').value;<!– [et_pb_line_break_holder] –> postData+="&password="+ document.getElementById('passForm').value;<!– [et_pb_line_break_holder] –> postData+="&comfirmPassword="+ document.getElementById('pass2Form').value;<!– [et_pb_line_break_holder] –> postData+="&publicidad="+ document.getElementById('publicidadForm').checked;<!– [et_pb_line_break_holder] –> postData+="&terminos="+ document.getElementById('terminosForm').checked;<!– [et_pb_line_break_holder] –> var xhttp = new XMLHttpRequest();<!– [et_pb_line_break_holder] –> xhttp.onreadystatechange = function() {<!– [et_pb_line_break_holder] –> if (this.readyState == 4 && this.status == 200) {<!– [et_pb_line_break_holder] –> if(this.responseText == "true")<!– [et_pb_line_break_holder] –> {<!– [et_pb_line_break_holder] –> document.getElementById("respnseText").innerHTML= "Registro completado porfavor, dirigité a tu correo para comfirmar tu cuenta.";<!– [et_pb_line_break_holder] –> document.getElementById("respnseText").style.color = "black";<!– [et_pb_line_break_holder] –> document.getElementById("idForm").style.display = "none";<!– [et_pb_line_break_holder] –> <!– [et_pb_line_break_holder] –> }<!– [et_pb_line_break_holder] –> else<!– [et_pb_line_break_holder] –> document.getElementById("respnseText").innerHTML = this.responseText;<!– [et_pb_line_break_holder] –> <!– [et_pb_line_break_holder] –> }<!– [et_pb_line_break_holder] –> };<!– [et_pb_line_break_holder] –> xhttp.open("POST", "/myPHP/register.php", true);<!– [et_pb_line_break_holder] –> xhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");<!– [et_pb_line_break_holder] –> xhttp.send(postData);<!– [et_pb_line_break_holder] –> return false;<!– [et_pb_line_break_holder] –> })<!– [et_pb_line_break_holder] –>});<!– [et_pb_line_break_holder] –> <!– [et_pb_line_break_holder] –> <!– [et_pb_line_break_holder] –></script><!– [et_pb_line_break_holder] –><!– [et_pb_line_break_holder] –><div id="PRiband" style="padding: 0 0 0 4.5%;" class="titleForm"><!– [et_pb_line_break_holder] –> Registro<!– [et_pb_line_break_holder] –></div><!– [et_pb_line_break_holder] –><br><!– [et_pb_line_break_holder] –><div id="respnseText" style="padding: 0 0 0 4.5%; color:red"><!– [et_pb_line_break_holder] –> <!– [et_pb_line_break_holder] –></div><!– [et_pb_line_break_holder] –><div id="idForm" style="padding: 0 0 0 4.5%;"><!– [et_pb_line_break_holder] –> <form id="my-form"><!– [et_pb_line_break_holder] –> <Div style="font-size: 22px;"><!– [et_pb_line_break_holder] –> Seleciona el tipo de cuenta que vas a tener:<!– [et_pb_line_break_holder] –> </Div><!– [et_pb_line_break_holder] –> <input class="radio" type="radio" name="tipe" id="jugadorForm" value="Jugador" checked/><p class="radioText">Jugador auto representado</p><br><!– [et_pb_line_break_holder] –> <input class="radio" type="radio" name="tipe" id="clubForm" value="Club" /><p class="radioText">Club</p><br><!– [et_pb_line_break_holder] –> <input class="radio" type="radio" name="tipe" id="entrenadorForm" value="Entrenador" /><p class="radioText">Entrenador</p><br><br><!– [et_pb_line_break_holder] –> <input class="formParams" type="text" id="nombreForm" required="required" placeholder='Nombre' style="margin-bottom: 3%" required/><br><!– [et_pb_line_break_holder] –> <input class="formParams" type="email" id="emailForm"required="required" placeholder='Email' required/><br><!– [et_pb_line_break_holder] –> <input class="formParams" type="password" id="passForm" required="required" placeholder='Contraseña' required/><br><!– [et_pb_line_break_holder] –> <input class="formParams" type="password" id="pass2Form" required="required" placeholder='Repite contraseña' required/><br><!– [et_pb_line_break_holder] –> <input type="checkbox" name="checkBox1" id="publicidadForm" style="transform: scale(1.5);" value="publicidad"> Deseo recibir comunicaciones comerciales y ofertas promocionales<br><!– [et_pb_line_break_holder] –> <input type="checkbox" name="checkBox2" id="terminosForm" style="transform: scale(1.5);" value="terminos"> Acepto los <a href="https://dahandballmanagement.com/terminos_y_condiciones_dahandballmanagement.pdf" target="_blank">términos y condiciones de uso</a> <br><!– [et_pb_line_break_holder] –> <div style ="padding: 0 10% 0 0"><!– [et_pb_line_break_holder] –> <button class="formSubmit" type="submit">Registrase</button><!– [et_pb_line_break_holder] –> </div><!– [et_pb_line_break_holder] –> </form><!– [et_pb_line_break_holder] –></div><!– [et_pb_line_break_holder] –>[/et_pb_code][/et_pb_column][/et_pb_row][/et_pb_section]