
PageBuilder
Visual section builder for MODX 3: draft and publish without overwriting resource content


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 → {'!FetchIt' | snippet} with form pagebuilderpro_quiz_form and snippet PageBuilderQuiz.
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 |