A complete participant registration and management system for the Fatherhood Initiative program.
| Page | URL | Purpose |
|---|---|---|
| Signup Form | signup.html |
Public registration form for fathers |
| Admin Dashboard | admin.html |
Staff portal to manage participants |
| 🔍 Diagnostic Tool | diagnostic.html |
Test database connection and diagnose issues |
| Connection Test | test-connection.html |
Advanced connection testing |
If you're having trouble with the signup form or admin dashboard:
- Open
diagnostic.htmlin your browser - It will automatically test your database connection
- Follow the specific instructions it provides
- Go to your Supabase project: https://supabase.com/dashboard/project/zagzyiyhomvwhhsibbxv
- Navigate to SQL Editor → New Query
- Copy and paste the contents of
supabase-schema.sql - Click Run to create the table
Open signup.html in a browser (right-click → "Open with Live Server" or double-click)
Upload these files to any web hosting:
signup.html→ The public signup formadmin.html→ The admin dashboard
- ✅ Clean, professional design with Man Up! Inc. branding
- ✅ Form validation with helpful error messages
- ✅ Beautiful "Thank You" confirmation screen
- ✅ Mobile responsive
- ✅ Debug mode (press
Ctrl+Shift+Dto toggle)
- ✅ View all registered participants
- ✅ Add participants manually (from paper signup sheets!)
- ✅ Edit participant information
- ✅ Delete participants
- ✅ Update status (pending → contacted → enrolled → active)
- ✅ Search by name, email, or phone
- ✅ Filter by status and entry source
- ✅ Export to CSV for Excel/Google Sheets
- ✅ Statistics dashboard
| Field | Type | Description |
|---|---|---|
id |
UUID | Auto-generated unique ID |
full_name |
Text | Participant's full name (required) |
email |
Text | Email address (required, unique) |
phone |
Text | Phone number (required) |
year_of_birth |
Integer | Birth year |
num_children |
Integer | Number of children |
children_ages |
Text | Ages like "5, 8, 12" |
referral_source |
Text | How they heard about us |
goals |
Text | What they hope to gain |
newsletter_opt_in |
Boolean | Email subscription |
status |
Text | pending/contacted/enrolled/active/inactive/completed |
entry_source |
Text | online/manual/paper/phone/event |
notes |
Text | Admin notes (internal) |
created_at |
Timestamp | Registration date |
Just link to the signup page:
<a href="/fatherhood/signup.html" class="btn">Sign Up Now</a><iframe
src="/fatherhood/signup.html"
width="100%"
height="800"
frameborder="0"
style="border: none; max-width: 600px; margin: 0 auto; display: block;">
</iframe>The signup form can be styled to match the main site by modifying the CSS variables in signup.html.
- The current setup uses Supabase Row Level Security (RLS) with public access
- For production with sensitive data, consider adding authentication
- API keys are visible in the HTML (standard for client-side apps)
- To rotate keys: Supabase Dashboard → Settings → API → Regenerate
Colors used:
- Forest Green:
#1B5E20 - Gold:
#C9A227 - Cream:
#FDF8E8
Fonts:
- Headings: Libre Baskerville (serif)
- Body: Source Sans 3
Open diagnostic.html in your browser - it will automatically test your setup and tell you exactly what to fix.
✅ FIXED in the latest code! Make sure you're using the updated files from this repository.
Run the SQL in supabase-schema.sql in your Supabase SQL Editor.
Open browser console (F12) and check for errors. Enable debug mode with Ctrl+Shift+D.
The email already exists in the database. Use the admin dashboard to find/edit the existing entry.
- First, open
diagnostic.htmlto run automatic tests - Check if the table exists in Supabase
- Verify RLS policies are set correctly
- Try refreshing the page
MUI-Fatherhood/
├── signup.html # Public signup form
├── admin.html # Admin dashboard
├── diagnostic.html # NEW! Diagnostic tool to test database
├── test-connection.html # Connection testing tool
├── supabase-schema.sql # Database setup script
├── SETUP_INSTRUCTIONS.md # Detailed setup guide
├── README.md # This file
└── backend/ # Optional Node.js backend (not required)
For technical issues: Contact the developer For program questions: fatherhood@manupinc.org