Simulate before publishing
No need to answer the questionnaire twenty times to see every case. The simulation takes scores and says what the visitor would see: who comes first, which band shows for each dimension, and which score would fall into no band. Nothing is saved.
POST /api/agent/v1/questionnaires/7/simuler/
{ "scores": { "curiosite": 15, "structure": 9, "elan": 3,
"accord": 8, "tensions": 10 } }
Test at least three cases: one dimension on top, a tie, everything in the middle. Then put the questionnaire online: it is born inactive, activating it is up to you.
The style
Each questionnaire has its own, dressing both the questions and the result page: font, main colour, background, headings, sizes per device, roundness of answers and button. Reuse the site's palette: the questionnaire should look like the site that hosts it.
PATCH /api/agent/v1/questionnaires/7/
{ "style": { "couleur_theme": "#2F6F8F", "couleur_fond": "#F7F4EF",
"police": "Inter, sans-serif", "arrondi_bouton": 8 } }
QuestionnairesHave Claude build it