special password query field

More
2 years 9 months ago #117903 by ck10
ck10 created the topic: special password query field
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

Please Log in to join the conversation.

More
2 years 9 months ago #117906 by Ben_V
Ben_V replied the topic: special password query field
Hi,
Paste this javascript code in the text of a short text question
<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

Please Log in to join the conversation.

More
2 years 9 months ago #117935 by ck10
ck10 replied the topic: special password query field
Thank you :)
It works

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!