Welcome to the LimeSurvey Community Forum

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

special password query field

More
9 years 1 month ago #117903 by ck10
special password query field was created by ck10
Hello everyone,

I have searched in the forum but found nothing suitable. I hope someone can help us.

We need a special password query field for as an answer. The minmal requirement is that the character are displayed as asterisks or points.
It would be better if there were two input fields that would be compare both inputs.

The passwords should appear in the printed Version also as asterisks.

In the database it should be displayed in plain text.


Does anyone have an idea???

Chris

___________
Version 2.05+ Build 141210
The topic has been locked.
More
9 years 1 month ago #117906 by Ben_V
Replied by Ben_V on topic special password query field
Hi,
Paste this javascript code in the text of a short text question
Code:
<script type="text/javascript">
  $(document).ready(function(){
  $(".text-short:eq(0) input.text").attr('type','password');
  });
</script>

This match your requirements except for the print view...So you probably will have to configure a custom print page as explained here

=> Related (old) post
.

Benoît

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
The following user(s) said Thank You: ck10
The topic has been locked.
More
9 years 1 month ago #117935 by ck10
Replied by ck10 on topic special password query field
Thank you :)
It works
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose