Attendee Registration System Enhancement
Historical design/implementation plan. It is retained as background, not a statement that every proposed feature is available. Use the current component/project guides and the deployed editor before following its recipes.
Overview
This feature set encompasses comprehensive enhancements to the attendee management system, including improved field management, registration form capabilities, and a new quiz form type with gamification integration. The goal is to create a more flexible, user-friendly system for managing attendee data collection and engagement.
Key Capabilities
Attendee Management Enhancements
- Dynamic Quick Add Forms: Attendee type-specific creation forms with field auto-population
- Dropdown Type Selection: DataTable create button with attendee type dropdown
- Quick Actions Card: Configurable quick action buttons on attendee edit pages
- Navigation Pagination: Next/previous row navigation within datatable context
- Attendee Assets Table: Dedicated searchable table for attendee uploads with approval workflow
Attendee Type Field Builder
- Improved Field Management: Quick-add cards, section-aware field creation, validation configuration
- Suggested Fields System: Global templates with project plan overrides
- AI Translation Fields: Fields that auto-translate values from other fields using Google/Vertex AI
- Default Fields: Mark fields as included for all attendee types
- Password Authentication: Separate configuration for password-based auth with rules
Registration Forms (New Form Type)
- Attendee Field Integration: Form builder elements that map to attendee type fields
- Multi-Type Support: Forms that support multiple attendee types with type selector
- Resumable Forms: Save progress and resume via email link (24-hour retention)
- Portal Integration: Attach forms to portal authentication settings
- Duplicate Handling: Configurable rules for duplicate email/contact detection
Quiz Forms (New Form Type)
- Game Integration: Connect quizzes to existing game/points system
- Question Randomization: Randomize questions and/or answer order
- Timing Controls: Quiz-level and per-question timers
- Active Sections: Admin-controlled section activation for live quizzes
- Trigger Integration: Quiz completion, correct/incorrect answer triggers
- Score Multipliers: Per-question multipliers based on answer selection
Architecture Decisions
| Decision | Choice | Rationale |
|---|---|---|
| Naming Convention | Keep "Attendee Type" | Maintain consistency with existing codebase |
| Suggested Fields | Global + Project Plan | Maximum flexibility for different event types |
| Quiz Scoring | Integrate with Game System | Leverage existing GamePointRule, PointTransaction infrastructure |
| Form Resume | 24-hour retention | Balance user convenience with data cleanup |
| Asset Security | Built-in GPG + ClamAV | Full control without external dependencies |
| AI Translation | Google/Vertex APIs | Align with existing AI infrastructure |
| Dropdown Create | DataTable Enhancement | Reusable pattern for other entities |
Documentation Structure
| Document | Description |
|---|---|
| 01-DATA-MODEL.md | Database schema changes and new tables |
| 02-ATTENDEE-MANAGEMENT.md | Dashboard attendee management enhancements |
| 03-FIELD-BUILDER.md | Attendee type field builder improvements |
| 04-REGISTRATION-FORMS.md | Registration form type implementation |
| 05-QUIZ-FORMS.md | Quiz form type with gamification |
| 06-PORTAL-INTEGRATION.md | Portal authentication and form embedding |
| 07-ASSET-MANAGEMENT.md | Attendee asset table with security features |
Implementation Phases
Phase 1: Attendee Management Foundation
Priority: High | Estimated Effort: Medium
- Update DataTable component to support dropdown create buttons
- Implement dynamic attendee quick add form based on type
- Add quick actions card to attendee edit page
- Implement next/previous navigation in datatable context
- Group Attendee Fields under Attendee Types in navigation
Phase 2: Field Builder Enhancements
Priority: High | Estimated Effort: High
- Implement suggested fields system (global + project plan)
- Add quick-add card UI pattern to field builder
- Section-aware "Add Field" buttons
- Auto-generate slugs with edit capability
- Enhanced validation configuration UI
- Mark fields as "default" for all types
- Mark fields for "quick add" inclusion
- Password authentication configuration (separate from fields)
Phase 3: AI Translation Fields
Priority: Medium | Estimated Effort: Medium
- New field relationship type: translation source
- Google Translate API integration
- Vertex AI model integration
- Read-only translated field rendering
- Translation caching and refresh
Phase 4: Registration Form Type
Priority: High | Estimated Effort: High
- New form type:
registration - Attendee field element type for form builder
- Multi-attendee-type support with conditional fields
- Resumable form sessions with 24-hour cleanup
- Resume link email sending
- Duplicate detection configuration
- Portal auth method attachment
Phase 5: Attendee Assets System
Priority: Medium | Estimated Effort: Medium
- AttendeeAsset model with approval workflow
- Searchable assets datatable
- GPG encryption for sensitive uploads
- ClamAV malware scanning integration
- Asset approval status management
Phase 6: Quiz Form Type
Priority: Medium | Estimated Effort: High
- New form type:
quiz - Quiz model extending ProjectForm
- Question/answer randomization
- Timer system (quiz-level and per-question)
- Active section management
- Game session integration
- Score calculation with multipliers
Phase 7: Quiz Trigger Integration
Priority: Medium | Estimated Effort: Medium
- QuizCompleted event implementing AdminWorkflowTriggerInterface
- QuestionAnswered event for per-question triggers
- Register events in AdminWorkflowTrigger::getAvailableEventTypes()
- GamePointRule templates for quiz scoring
- Leaderboard integration
Related Documentation
- GxP Templating System (repository reference:
../../platform-details/templating-system.md) - DataTable Component (repository reference:
../../platform-details/datatable-component-documentation.md) - Form Builder Architecture (repository reference:
../../CLAUDE.md#form-builder-system) - Portal System Architecture
Dependencies
Existing Systems
- Attendee/AttendeeType/AttendeeField models
- FormBuilder v2 system
- Portal authentication system
- Game/Points/Leaderboard system
- AdminWorkflow trigger system
- Google/Vertex AI integrations
New Dependencies
- GnuPG PHP extension (for GPG encryption)
- ClamAV daemon (for malware scanning)
Migration Considerations
- All changes are additive; no breaking changes to existing data
- New form types require PluginPageVersion templates
- Suggested fields migration will seed default templates
- Quiz forms require game to be created first (optional)