0 votes
in SoSci Survey (English) by s152546 (190 points)

Hi
How can I change the text displayed in the InfoBox?
I created an InfoBox with additional information (PHP code: $link = textlink('infoBox', 'aici', 640, 400); html('<p>Informații suplimentare '.$link.'</p>');); but after changing the text, when I press the button, the old text is displayed.

1 Answer

0 votes
by SoSci Survey (304k points)

Please make sure that the content of "infoBox" has been changed and that you have save the changes with the save button.

If the browser still displays the old content, this may be a browser caching issue. Try and press F5 (reload page) on the pop up.

by s152546 (190 points)
Since I couldn't find another option, I will use an HTLM code (although I would have preferred that the additional information to open in a new pop-up window...)
by SoSci Survey (304k points)
The pop-up should work fine if you replaced the dot/semicolon?! If not, you're welcome to post your code and explain what is not (yet) working.
by s152546 (190 points)
Unfortunately doesn't want to display correctly.
No additional information is displayed in the InfoBox either if I try on the test version of the questionnaire or if I access the link in Project Setting.
I really don't understand where I'm wrong
In both cases it is displayed:
This page isn’t workingwww.soscisurvey.de is currently unable to handle this request.
HTTP ERROR 500

PHP code used:
$link = textlink('InfoBox', 'aici', 640, 400);
html('<p>Informații suplimentare '.$link.'</p>');

InfoBox vas created in Labels and Text Element

the hiperlink:
https://www.soscisurvey.de/partea1/?info
by SoSci Survey (304k points)
No, we're getting somewhere : )Thank you, at least regarding the "?info" page I was able to identify a program bug and resolve that. Let's continue with the textlink().
by s152546 (190 points)
Thank you very much. Now it works perfectly.

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

...