VPRL / Virginia-Philosophy-Reality-Lab

An Interdisciplinary Coalition of Educators and Researchers
GNU General Public License v3.0
6 stars 3 forks source link

Qualtrics Number Support #8

Closed JShull closed 3 years ago

JShull commented 3 years ago

Describe the Adjustment Make it so Qualtrics works within button pushing

Things to Consider Spend a minute looking into how Qualtrics generates random numbers - maybe I can adjust this but if not just accept any 6 digit number as we are going to have to filter on this anyways for clarity purposes Solved by using last 6 numbers of qualtric user number.

Azure Requirements

  1. Need to add Cosmos DB table for easy look up/add. When a user inputs their number and hits submit - we query Cosmos for this number, if it doesn't exist - add it and grant them access.
  2. If it does exist - update computer screen with information to contact us if this is an error - mail to Link to our group email. Automatically prompt new output narrative/text about how to contact us for this problem.
  3. Need to add developer key option to let us/others through the experience without keying a code.
JShull commented 3 years ago

@Kisselphil can you point me to where in the Qualtrics survey code is the random number being generated? I cannot find it.

Is this it in the Survey Flow? image

If this is it - where is the option for Qualtrics to not reuse a number? This code to me just says any random 6 digit number.

I think to do this right can we use a table of values? If I give you a insanely large CSV file of random unique numbers could you just pull from that table in order? I read more into how we could do this through Qualtrics and you get back to API access of which we know ODU doesn't have that type of license - but I did read about using a predefined table. If you can look into this, I can get you that table whenever you need it.

Kisselphil commented 3 years ago

When you’re looking at the survey, click “Survey Flow”. The first field there “set embedded data” is where the random number is assigned.

Sent from my iPhone

On Mar 8, 2021, at 3:33 PM, John Shull notifications@github.com wrote:

 @Kisselphil can you point me to where in the Qualtrics survey code is the random number being generated? I cannot find it.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

Kisselphil commented 3 years ago

Gotcha, I’ll check it out, I think you’re right

JShull commented 3 years ago

We agreed to run the last 5/6 numbers of the user qualtrics user ID @Kisselphil is looking into implement this. I am updating the issue to include the Azure requirements needed to implement a quick "has this number already been entered before" check and a way to inform the user if it has.

JShull commented 3 years ago

We will accept any 6 digit number - this just goes straight to our storage solution and we will check it later on the backend.