Dear SoSci Survey manager,
Hello,
I have a few questions about the slider in SoSci Survey.
Firstly, the custom slider I added is not visible in languages other than the default (English).
The basic slider design provided by SoSci Survey is not suitable for our survey, so I’ve created a longer line slider named 'slider_English'. However, when I switch to another language, such as French, an error occurs with 'slider_French'.
How can I resolve this issue?
Secondly, we are currently addressing this issue by creating three identical slider questions in English and using a PHP function to display them according to the selected language. However, the problem is that we want to present the questionnaire in our survey randomly, but due to the PHP code we are using, we have to ensure that a certain page always follows the slider.
Can you modify my code so that the questions can appear randomly?
If you have any ideas, please let me know.
Sincerely,
if (getLanguage() == 'fre') {
setLanguage('eng');
question('WN64');
setNextPage('PG03') == setLanguage('fre');
} elseif (getLanguage() == 'ger') {
setLanguage('eng');
question('WN65');
setNextPage('PG03') == setLanguage('ger');
} else {
question('WN68');
}