Forms
Tibi forms are split between editor-managed Gravity Forms and custom React flows for service-specific API submissions.
Last modified: July 10, 2026
Form Types
| Need | Implementation | Owner |
|---|---|---|
| Flexible editor-managed form | Gravity Forms | Editors configure fields; developers maintain retention/upload behavior. |
| Borrower signup | tibi/form-signup |
Developers maintain fields/API; editors maintain thank-you text. |
| Loan-right confirmation | tibi/form-confirm |
Developers maintain fields/API/uploads; editors maintain thank-you text. |
| Brochure ordering | tibi/brochures and tibi/brochure |
Editors maintain items; developers maintain REST/email behavior. |
Source Map
| Area | Source |
|---|---|
| Gravity Forms behavior | packages/wordpress/plugins/tibi-core/inc/gravityforms.php |
| Asset loading | packages/wordpress/themes/tibi/inc/assets.php |
| Signup React app | packages/wordpress/themes/tibi/src/signup.tsx |
| Confirmation React app | packages/wordpress/themes/tibi/src/confirm.tsx |
| Brochures React app | packages/wordpress/themes/tibi/src/brochures.tsx |
| Brochure REST endpoint | packages/wordpress/themes/tibi/inc/rest.php |
Integration Points
- NLB API receives signup and loan-right confirmation submissions.
- WordPress REST handles brochure order submissions.
- Gravity Forms entries are deleted by default unless explicitly retained.
- Cookiebot ignores required form scripts where configured.
QA
- Submit each changed form on stage.
- Check required field errors.
- Check success/thank-you state.
- Confirm API base is correct for the environment.
- For brochures, confirm internal and user emails are received.