0 votes
in SoSci Survey (English) by s290572 (110 points)

The input should be limited to decimal numbers (one decimal place) in the format of 0 - 0.5 - 1 - 1.5 - 2 - 2.5, etc.

1 Answer

0 votes
by SoSci Survey (325k points)

You could use a regular expression to check the format after respondents clicked on "next".

/\d+(\.[05])/

This allows a number (one or more digits) and then optionally ".0" oder ".5".

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

...