Welcome to the LimeSurvey Community Forum

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

Reemplazar texto por asteriscos

More
1 year 7 months ago #254719 by ricardovelbau
Ayúdenos a ayudarle y rellene los siguientes campos:.
Su versión de LimeSurvey: 5.6.0
Servidor propio o LimeSurvey Cloud: Propio
Plantilla de diseño utilizada: Default
==================
Buenos días foro, 

Tenemos una encuesta de ejemplo, en donde requerimos que una pregunta de texto corto, reemplace el texto por asteriscos a la hora de escribir, pero obviamente en la base de datos ver el valor real. 
¿Se puede hacer esto? Y en caso de que si, ¿cómo se haría?

Adjunto lss.

Please Log in to join the conversation.

More
1 year 7 months ago #254727 by Joffm
Hola,
Pegue esto en el código fuente de la pregunta.
Code:
<script>
   $(document).ready(function() {    
 
       var thisQuestion = $('#question{QID}');
       $('input[type=text]', thisQuestion).attr('type','password');
    });
</script>

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: ricardovelbau

Please Log in to join the conversation.

More
1 year 7 months ago #254731 by ricardovelbau
Muchas gracias Joffm, funcionó.

Please Log in to join the conversation.

Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose