0 votes
in SoSci Survey (English) by s215926 (130 points)

Thank you very much for your response! Unfortunately, and delayed, I have some more questions:

1) I have tried "Visual Placements", however, this item allows "only" 32 areas, for the GEW I would need 122.

2) I have built the GEW-Item as a html/svg/javascript page (https://gew-axel.frmth.de/index.xhtml) including the svg-graphic and the item selection logic. The code is easy to configure (e.g., translations, number of selections). However, including this code (e.g., according to https://www.soscisurvey.de/help/doku.php/en:create:inputs-custom) does not work, because the -Element is not interpreted.

3) I did not find a function called registerMarker() in the source code of an SVG as selection Item.

Do you have some hints for me how to go on?

1 Answer

0 votes
by SoSci Survey (355k points)

1) I have tried "Visual Placements", however, this item allows "only" 32 areas

You may need no area at all. You'll have the coordinates of the marker in the data, and based on the X-Y-coordinated, you can easily compute the radial coordinates (which the 122 positions would result in, anyway).

However, including this code does not work, because the -Element is not interpreted.

Please post a pretest-link directly (!) to the page with the include, so I can tell more.

Possibly, you tried to embed JavaScript code directly in the SVG, which is blocked by the security settings by default.

I did not find a function called registerMarker() in the source code of an SVG as selection Item.

When using a SVG selection, SoSci Survey separtes the Script (directly in the HTML code of the page plus embedding a JS file) from the SVG (which is simply the SVG). You'll find the registerMarker() calls in the page's HTML code.

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

...