Welcome to the LimeSurvey Community Forum

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

Username / Password survey access (not just tokens)

  • tobyrhodes
  • tobyrhodes's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 11 months ago #107251 by tobyrhodes
Hi All

I am hoping to find a way that I can implement Username / Password access to a closed survey (based on an imported username/password list).

Not sure if this is the best way to do it, but here is what I am trying ...

I am experimenting with setting up an "access control" group at the start of the survey, then verifying username/pw against the token file (additional attribute fields)

To make this work and look pretty, I need to be able to have a password input field that masks the actual characters typed with '********' (one * for each character input). Is this possible? I think the HTML input type is "password".

Then I will use expression manager to direct flow to either allow or disallow access to the rest of the survey.

Or ... is there a better way (suggestions gratefully received)?

Many thanks
Toby
The topic has been locked.
  • tobyrhodes
  • tobyrhodes's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 11 months ago #107260 by tobyrhodes
Alternatively ... is there a bolt on or stand-alone user access module that anyone could recommend?
Toby
The topic has been locked.
  • tobyrhodes
  • tobyrhodes's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 11 months ago #107261 by tobyrhodes
Update ...

I have managed to get the password field to show as ***** using the solution suggested by SGAMaddin in www.limesurvey.org/en/forum/can-i-do-thi...put-type-to-password using the following code in startpage.pstpl:

<script type="text/javascript" charset="utf-8">
$(document).ready(function() {
document.getElementById("answer546224X296X3709").type='password';
});
</script>

Toby
The following user(s) said Thank You: byan
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose