velletti / ke_questionnaire

This is a fork of the offical ke_questionnaire, compatible with TYPO3 - 8.7. LTS
1 stars 3 forks source link

No values for checkbox and radiobuttons in csv export #3

Closed tobiasschaeferptb closed 5 years ago

tobiasschaeferptb commented 5 years ago

Hello Jörg,

if there is a checkbox or a radiobutton included in a KeQ content element and if the frontend user checks this checkbox or radiobutton it doesn't lead to a value in the csv export. So it isn't possible to figure out if a checkbox or radiobutton was checked or not.

Greetings Tobias

velletti commented 5 years ago

Hi thobias. As i have many working surveys using checkboxes, it could be a java script problem, as the ke extension uses Javascript to change the value of the key element for ☒. Can you recheck if you included the Javascript or there are any errors 🤔

tobiasschaeferptb commented 5 years ago

Hi Jörg,

I wasn't aware that KeQ comes with its own jQuery und jQueryUi files. Since the website also includes both files through page.includeJSFooterlibs I deactivated this include. But the solution for my problem was something else: the field "Marker for RadioButton and CheckBoxes answers" in the export module. Once you set a marker here it is used in the exported csv file.

Greetings Tobias