0 votes
in SoSci Survey (English) by s377192 (110 points)

Ask a question
The question in one sentence:

Category:
Please choose a category
Before proceeding, please check your question was not asked already:

How can I restrict the answers in an open text field to only decimal numbers like 0, 0.5, 1, 1.5, etc.?
How can I randomly show items of 4 questions into 1 question (Likert-scale)?
how can I only show one question at a time in the survey?
How can I delete the database for contents ONLY IF the database already has some data ?
In our survey, the multiple choice matrix - we get only 1/2 and not all the options. why?
More information for the question:

1 Answer

0 votes
by SoSci Survey (375k points)

How can I restrict the answers in an open text field to only decimal numbers like 0, 0.5, 1, 1.5, etc.?

Please select the input (item) in the navigation for editing. Here select the "decimal" option for the input restriction.

How can I randomly show items of 4 questions into 1 question (Likert-scale)?

Please follow this manual: Mix Items from Different Questions

how can I only show one question at a time in the survey?

It depends what you mean by "question". If we're talking about questions labelled as such in SoSci Survey, just drag one question on each page in Compose Questionnaire.

How can I delete the database for contents ONLY IF the database already has some data ?

Do you want to delete the whole database for contents or a single entry?

In our survey, the multiple choice matrix - we get only 1/2 and not all the options. why?

A multiple choice selection or matrix requires one variable per checkbox. This is necessary to allow multiple options beein selected at the same time (and also represent that in the dataset). Therefore, you get a lot of variables, each 1/2 coded.

How can I show Page 4 only if ST01=1 and Page 5 only if ST01=2

There are multiple ways, here's a start: Filters and Conditional Questions

by s377192 (110 points)
Thank you.

I have already read the Filters and Conditional Questions documentation, but I still don't know how to apply it to my case.

My questionnaire is structured like this:

Page 3: Random Generator (ST01)
Page 4: Text element with Video A (VIDA)
Page 5: Text element with Video B (VIDB)
Page 6: Questions

Both videos are currently shown one after another.

Could you please tell me exactly which PHP code I should insert and on which page to ensure:

- ST01 = 1 → show only Page 4 (VIDA)
- ST01 = 2 → show only Page 5 (VIDB)

or should I instead use one page with text('VIDA') / text('VIDB')?

Thank you very much.
by SoSci Survey (375k points)
>  I still don't know how to apply it to my case.

Okay, it seems that you are not talking about questions, but about a random generator. My suggestion would be NOT to place the videos on different pages, but to store them in two "texts" and use the PHP filter to show one of these texts.

If you want to stick to the pages (which is more complicated), the setPageOrder() function is very helpful.

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

...