
PageBuilder
Visual section builder for MODX 3: draft and publish without overwriting resource content
- MODX 3
- PHP 8.2
- Vue 3


AJAX submit handler for Pro quiz section. The section chunk calls it via FetchIt. Do not call this snippet from the resource template.
Validates answers and contacts, server-side total in pricing mode, email via modMail, FetchIt JSON response.
Chunk pagebuilderpro_quiz calls PageBuilderFetchIt with snippet = PageBuilderQuiz and form = pagebuilderpro_quiz_form.
FetchIt sets parameters from the form (POST): pb_quiz_key, answer[...], contact fields, honeypot nospam. There are no separate snippet properties for template calls.
| Package | Why |
|---|---|
| pagebuilderpro | quiz section |
| FetchIt | AJAX and inline errors |