How to create condition on Google Forms using script - google-forms

I want to create a quiz test question to my students using Google Forms. Since this is an online test, I don’t want to give only one type of question for all students. Instead, I want to divide the students into 10 groups and give different quiz questions for each group. The division is based on student’s attendance number. For instance, question 1 is for students with attendance number 1, 11, 21, etc. Question 2 is for students with attendance number 2, 12, 22, etc. And the same for numbers 3 to 10.
What I want from Google Form is when a student enters his/her attendance number, the Google Form will choose the correct question based on the above condition.
I know that this can only be done using script. Unfortunately, I don’t have any idea on how to write script in Google Forms. That is why I have not tried to write one. Thank you for your help.

Related

Qualtrics: Assign 4-digit Unique Participant ID number after enrolling via QR code

This is for longitudinal human subjects biomedical research. The basic flow of the enrollment process is this:
Enter clinic & scan QR code OR click email link
Read informed consent form and check I consent [survey]
Pass study screener question (are you 18 yo) [survey]
Contact form - enter your name, phone, email [survey w/ workflow to create XM
directory from this data]
Baseline survey [survey w/ ID number attached]
I have it set up right now that survey 2,3,4 all flow together assuming you meet all the criteria. This study is longitudinal so for every survey I want their ID number attached so we can track changes over time at the person-level. We are also collecting blood samples so I will need their participant ID number on their blood tubes so we know who's who when we process and analyze them. Therefore the nurse will need to know their ID number between steps 4 & 5.
I've seen on the community boards that assigning a random number does not guarantee unique values and that unless you make the number long you might have a duplicate. Can't have that. The numbers must be unique and 4 digits so the clinic staff doesn't get bogged down writing a 10-digit number on a blood tube.
I'd love for this number to be sequential, but beggars can't be choosers.
Any ideas on how to do this?? Here are my thoughts thus far
In step 4 (the contact sheet) set a quota larger than the participants I plan to enroll and then save the quota count as embedded data. Then in the workflow where I create the contact directory, save the quota number into an ID number field. DRAWBACK: if multiple people are enrolling at once, Quatrics Customer Service said they can't guarantee that two people won't have the same quote number but couldn't give details about how to define "at the same time". like clicking it at the same milisecond? second? few seconds?
Use the Qualtrics generated unique Person ID field, which is very long and alphanumeric and somehow re-code it with.... python magic?
Thank you!!!

Possible to be anonymous from contacts on TG groups?

TG claims to be very private - my question is - is it possible to be part of a TG group that you have fellow contacts on, but those fellow contacts not to know you are on that group? So is it possible that 2 acquaintances message each other without knowing they are actually messaging acquaintances that are on each other’s contact list?
Is it possible to be part of a TG group that you have fellow contacts on, but those fellow contacts not to know you are on that group?
I will answer your question in 2 situation :
The person whom is in your contact list (with or without knowing his/her number).
The person whom is in not your contact list.
First I should say : Yes , you can add a person as your contact without knowing his/her number in this update of Telegram
Second : If you try to join a group, Telegram shows you a small list of group's members and in the first line of that popup you will see your contacts there like this image :
As you can see, the user with "Game" name is mine and my friend see my account in the first of list. This situation is also applies to a person whom you added without knowing his/her number.
Third: You also can click on his/her account and see how much group do you have in common with him/her it will show list of all groups you have.
This situation is also applies to a person whom is not in your contact list.

Pre fill info based on previously answered questions

I want to use Google Forms to collect Contact Info for students.
In the case of families with more than one student at the school, I would like to see if there is a way to use one form for all students in one family. In this case, I would use conditional logic to continue on to the contact info for each student.
I would like to know if there is a way to pre-fill the info for any subsequent students in the family (based on the answers for the first student entered), but still allow the answers to be edited.
Any ideas on how to achieve that?

How do you display previous answers of a DIFFERENT survey participant in qualtrics survey?

I am using Qualtrics to elicit responses of a group of 12 subjects. To be specific, let me label each subject with an ID =(1,2,...,12).
I would like to create 6 pairs. Towards the end of the survey, I would like to show ID 2 the response of ID 1 to an earlier question. I would like to show ID 4 the response of ID 3, etc.
I know how to use piped text to display show ID 2 his previous answers. But I'd like to show the previous answers of ID 1.
Thanks in advance!
You can't pipe across different responses. I think the only way to do this would be to to write a web service script that uses the Qualtrics REST API to get response data for a different respondent. You would only be able to access response data for other respondents who had already completed the survey.

MS Access Database Design - User Input Comparison

I have a user input form (asp.net) where user rates each question on a scale of 1 to 5 and is given some recommendations for each question depending on his input. Questions and their recommendations are totally independent of each other and for every rating of an question there is a particular recommendation to be displayed. Could someone help me out with the database design for this and how to achieve this?
Something like this.
EDIT:
My recommendations are based on user input and there is a unique recommendation for each user input. I mean if there are 5 questions on a scale of 5, then i have in all 25 recommendations.
1 2 3 4 5
Question1 Recom.1 Recom.2 Recom3 Recom4 Recom5
Question2 Recom6 Recom7 Recom8 Recom9 Recom10
Question3 ................................................................
I can only assist you with the design part of the question
Build tables based on something like this
From what I've gathered from the question,
Recommendations are independent of Questions ,since there is no activity related to them, i.e. the user isn't doing anything with the recommendations except viewing them
You will populate the form with the Questions and collect the ratings into QuestionRatings Table
Recommendations are just there to display them
You will have to use some code in your form to display Recommendations based on rating

Resources