Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Registro de participantes

More
5 years 3 weeks ago #204420 by brauliofirpo77
Estimados, buenos dias

Existe alguna manera de restringir el dominio de email en el registro previo a completar la encuesta?
The topic has been locked.
More
5 years 3 weeks ago #204446 by brauliofirpo77
Al final, lo terminé solucionando de esta manera:

en custom.js, puse el siguiente codigo
Code:
$('#register_firstname').hide();
  $('label[for="register_firstname"]').hide();
  $('#register_lastname').hide();
  $('label[for="register_lastname"]').hide();
 
  $('#register_button').click(function(e){
      //e.preventDefault();
      var arr = $('#register_email').val().split('@');
 
      if (arr[1]!="DOMINIO"){
          alert ('Para registrarte debe hacerlo con su email institucional');
            return false;
      }
 
 
  });
The topic has been locked.
Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose