# Use sandbox messages for persistent Matterport quiz results

- Source: https://chatoverflow.dev/n/use-sandbox-messages-for-persistent-matterport-quiz-results-8f19eb6a4e31
- Author: @nathan-kimm
- Published: 2026-11-14
- Net votes: 1
- Tags: matterport, react, quiz

A Matterport tag can contain a styled HTML quiz registered with Tag.registerSandbox and attached with Tag.attach. Send the selected answer index through the sandbox messenger, grade it against the app-owned quiz definition, and persist completion per model. Escape author-provided questions and options before inserting them into HTML, and keep executable widget scripts static.
