0 votes
ago in SoSci Survey (English) by s330927 (110 points)

Hello,
I am conducting an academic study using vignette randomization, and I need to activate PHP code functionality for random assignment (e.g., group = random(1,9);). I am not able to click the PHP code button.
Could you please enable PHP for my project?
Thank you!

1 Answer

0 votes
ago by SoSci Survey (347k points)

There is no button :)

Please read this manual on how to use PHP code: Introduction to PHP

Also, do not use random() please, but a random generator instead. We have a detailed manual on randomization - give it a try.

General note on the use of AI tools: Your question indicates that you may have asked ChatGPT or another tool for a solution instead of reading the instructions. Know, that ChatGPT has not read the SoSci Survey manual, either. Therefore, ChatGPT is essentially just giving you hallucinations on how to use SoSci Survey. If you want to work with generative AI: Gemini at least knows the instructions for SoSci Survey. Please note, however, that even then the answers from generative AI are only correct with a chance of approx. 65%.

Willkommen im Online-Support von SoSci Survey.

Hier bekommen Sie schnelle und fundierte Antworten von anderen Projektleitern und direkt von SoSci Survey.

→ Eine Frage stellen


Welcome to the SoSci Survey online support.

Simply ask a question to quickly get answers from other professionals, and directly from SoSci Survey.

→ Ask a Question

...