Open resta3000 opened 3 months ago
At which site? The evaluation of the own submit looks good: https://www.quizpalme.de/quiz-umfrage/umfragen/besucher-umfrage Do you mean the evaluation of all entries?
Auf der Seite: https://www.quizpalme.de/quiz-umfrage/umfragen/besucher-umfrage befindet sich im zweiten Schritt eine Frage "Wie glücklich bist du?", diese Frage wird per Rating-Stars bewertet. Die fünf Werte der darunter liegenden Form Elemente belaufen sich von 388 bis 392 (Stern 1 bis 5). Durch den CSS Stil der Rating-Stars (.star-cb-group { direction: rtl; }) wird die Reihenfolge umgekehrt, d.h. dass wenn ein Nutzer fünf Sterne vergeben möchte, wird der Wert 388 eingetragen. Bei uns führt das zu genau umgekehrten Ergebnissen in der Auswertung.
Nun, die Funktionsweise ist von hier: https://codeconvey.com/css-star-rating-radio-buttons/ D.h. man muss zuerst die 5-Sterne im Backend anlegen. 388 ist also 5 Sterne. Ist vielleicht die Reihenfolge im Backend anders herum?
Hi,
the order of the stars is reversed for the evaluation function via CSS (RTL), so the results are also reversed by the users when voting.