Files
survey-tools/survey_dropdown_simple_choice/models/__init__.py
Quentin Mondot b7cba7d6dd
Some checks failed
pre-commit / pre-commit (pull_request) Failing after 1m41s
tests / test (pull_request) Successful in 2m1s
[ADD] survey_dropdown_simple_choice
Display "Multiple choice: only one answer" (simple_choice) survey
questions as a dropdown list instead of radio buttons, per question.

The native radios are kept (hidden by CSS) and still carry the answer:
the dropdown only clicks them, so validation, conditional questions,
"Other" comment, auto-submit and AJAX submit are handled natively.
In review / print mode, only the selected and correct answers are
displayed. Native rendering is kept when suggested answers contain
images.

Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 11:34:42 +02:00

2 lines
30 B
Python

from . import survey_question