Welcome, Guest
Username: Password: Remember me

TOPIC: Username / Password survey access (not just tokens)

Username / Password survey access (not just tokens) 3 months 3 weeks ago #107251

  • tobyrhodes
  • tobyrhodes's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 20
  • Thank you received: 1
  • Karma: 0
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 administrator has disabled public write access.

Username / Password survey access (not just tokens) 3 months 3 weeks ago #107260

  • tobyrhodes
  • tobyrhodes's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 20
  • Thank you received: 1
  • Karma: 0
Alternatively ... is there a bolt on or stand-alone user access module that anyone could recommend?
Toby
The administrator has disabled public write access.

Username / Password survey access (not just tokens) 3 months 3 weeks ago #107261

  • tobyrhodes
  • tobyrhodes's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 20
  • Thank you received: 1
  • Karma: 0
Update ...

I have managed to get the password field to show as ***** using the solution suggested by SGAMaddin in http://www.limesurvey.org/en/forum/can-i-do-this-with-limesurvey/87257-change-token-input-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 administrator has disabled public write access.
The following user(s) said Thank You: boyan
Moderators: ITEd
Time to create page: 0.114 seconds
Donation Image