No, you neither pay for testing (testing project), nor for academic use (free project). As long as no conpany is involved in the project.
We just need a university email address (or a copy of your ID card) to ensure it's you whose name is set in the account - and not someone who wants to abuse SoSci Survey to send spam in your name.

> This might be easier to accomplish by putting the combinations into the elements of the random generator. But it's also possible to do it with the no-combinations solution. Just use dbKeys() to count the number of entries in the database for contents, having a specific prefix (=your deck name/prefix, e.g., "D1").

I am facing an issue. I want to have 2 vignette text in same page one from Deck 1 having 10 texts and another from Deck 2 having 8 texts. I tried it in two ways.

1. I use loop in both the PHP code 10 times, It shows error for second deck saying there is no 9th entry found.

2. In case I used loop 10 times for Deck 1 and 8 times for Deck 2 then the questionnaire comes to an end after 8 loops.

> I am facing an issue. I want to have 2 vignette text in same page one from
> Deck 1 having 10 texts and another from Deck 2 having 8 texts.

I don't understand this: Shouldn't the questionnaire use either Deck 1 or Deck 2?

I think it would be helpful, if you created a new question, and include the PHP code, the random generator, and a sample of your databank contents. Also write what's already working well. This would be much easier to follow than the comments. Thank you.

1 Answer

0 votes

Had to use answer because I was not able to insert images using comment.

(1) What is QN01? What questions shall be shown for the second, third, etc. item of the deck?

QN01 is the common question for the all the texts of Deck1. As you can see above the Question 1 remains the same but only the Vignette Text are varying. I have given below exactly how I would liek to have.

Questionnaire 1:

(Vignette Text 1 from EmployeeInfoDeck1) A 20 year old man is a fresher and takes lots of break during work hours

(Question 1) Is the behavior of your co-worker as expected, or is it in your opinion
acceptable or not acceptable?

(Answer Scale1) Acceptable---In Between---Not Acceptable

(Vignette Text 1 from CompanyInfoDeck1) The company is accepting freshers without having a Degree

(Question 2) Is the company policy Good or Bad ?

(Answer Scale2) Good---In Between---Bad

Questionnaire 2:

(Vignette Text 2 from EmployeeInfoDeck1) A 40 year old woman is experienced and takes no breaks during work hours

(Question 1) Is the behavior of your co-worker as expected, or is it in your opinion
acceptable or not acceptable?

(Answer Scale1) Acceptable---In Between---Not Acceptable

(Vignette Text 2 from CompanyInfoDeck1) The company is not accepting experienced candidates without a degree and 5 years of working experience

(Question 2) Is the company policy Good or Bad ?

(Answer Scale2) Good---In Between---Bad

(2) Which texts belong to which deck? It seems you didn't use the prefixes as I suggested

Ok i followed the exact naming convention you used in the example. I have attached the entire process below.