How can I request a short "password" at the beginning of my form to identify the person filling out the form with more certainty?

Hi,

Here is one little bit more secure option that don't reveal usernames in CSV.

  1. Hash 'username' (h1) and hash 'username+password' (h2), put these data in a CSV file.
  2. In the beginning of survey ask user to enter username and password (text vars).
  3. Calculate digest of entered username (d1).
  4. Calculate digest of entered username + entered password (d2).
  5. Create one more calculate variable and use pulldata() function to fetch h2 from CSV using d1 as index.
  6. Check if d2 matches the fetched h2.
  7. If strings match, reveal main survey questions to the user and allow data entry.

You can also fetch h1 from CSV using d2 as index, and then check whether fetched h1 matches d1.

3 Likes