Before You Begin
Ensure you:- Have administrator access to the platform
- Are logged in to the admin panel
- Have a clear plan for your election (type, dates, candidates)
Creating a New Election
Access the election creation interface at/admin/elections.
Navigate to Elections
From the admin dashboard, click “Elections” in the sidebar or navigate to
/admin/elections.Click Create Election
Click the “Create Election” button in the top-right corner. A modal form will appear.
Enter Election Details
Fill in the required information:Election Name (required)
- Clear, descriptive name
- Example: “2024 Student Union President”
- Visible to all voters
- FPTP (First Past The Post): Single choice, highest votes wins
- STV (Single Transferable Vote): Ranked choice with proportional representation
- AV (Alternative Vote): Ranked choice for single winner
- PREFERENTIAL: General preferential voting system
- When voting opens
- Use date helper buttons: Now, +1h, -1h, +1 day, -1 day
- Must be before end date
- When voting closes
- Use date helper buttons: Now, +1h, +1 day, +1 week, +1 month
- Must be after start date
- Brief overview of the election
- Displayed to voters on election pages
- Include purpose, rules, or important information
Elections are created in DRAFT status by default. They won’t be visible to voters until you activate them.
Understanding Election Types
Choosing the right election type is crucial for fair results.First Past The Post (FPTP)
How it works:- Voters select one candidate
- Candidate with the most votes wins
- Simple majority system
- Single position elections
- Simple yes/no decisions
- When you need quick, clear results
- Class president
- Department chair
- Single board seat
Single Transferable Vote (STV)
How it works:- Voters rank candidates by preference
- Votes transfer if first choice is eliminated
- Ensures proportional representation
- Multiple winners possible
- Multi-seat elections
- Committee selections
- Proportional representation needs
- Student council (5 seats)
- Board of directors
- Committee members
Alternative Vote (AV)
How it works:- Voters rank candidates
- If no 50% majority, lowest eliminated
- Votes redistributed until winner emerges
- Single-winner elections
- Ensuring majority support
- Competitive races with multiple candidates
- Mayor election
- Club president
- Team captain
Preferential Voting
How it works:- General ranked-choice system
- Voters rank candidates in order
- Preferences used to determine winner
- Custom voting scenarios
- Organizations with specific rules
- Flexible preference-based systems
Adding Candidates
After creating an election, you must add candidates before activation.Access Election Details
From
/admin/elections, click the eye icon next to your election, or navigate to /admin/elections/:id.Enter Candidate Information
Fill in the candidate details:Name (required)
- Full name of the candidate
- Example: “Jane Smith”
- Political party or affiliation
- Example: “Independent” or “Student Action Party”
- Can be left blank
- Brief background or platform
- Visible to voters
- Include qualifications, goals, or message
- Supports multiple lines
Submit Candidate
Click “Add Candidate” to save. The candidate appears in the election’s candidate list.
Removing Candidates
You can remove candidates from DRAFT elections only.Activating an Election
Once your election is configured with candidates, you can make it live.Verify Election Details
Before activating, double-check:
- Election name and description are correct
- Start and end dates are accurate
- All candidates are added with correct information
- Election type is appropriate
Confirm Activation
Confirm you want to activate the election. Once activated:
- Candidates cannot be added or removed
- Election details cannot be changed
- Election becomes visible to voters
Voters can only vote once the start date/time is reached, even if the election is active.
Requirements for Activation
An election can only be activated if:- At least one candidate has been added
- Start date is before end date
- Election is currently in DRAFT status
Managing Active Elections
Monitoring Vote Progress
From the election detail page, you can see:- Current vote count
- Total number of voters who have participated
- Time remaining until election closes
Closing an Election Early
If needed, you can manually close an active election before the end date.Automatic Closure
Elections automatically close when:- The end date/time is reached
- System processes closure and calculates results
- Status changes to CLOSED
Deleting Elections
You can delete elections in any status, but this is a destructive action.Confirm Deletion
Confirm you want to permanently delete this election. This removes:
- The election itself
- All candidates
- All votes cast (if any)
- Vote confirmations
- Results data
Election Lifecycle
Understanding the election states helps you manage them effectively.DRAFT
- Initial creation state
- Add/remove candidates freely
- Edit election details
- Not visible to voters
- No votes can be cast
- Can be activated or deleted
ACTIVE
- Visible to approved voters
- Accepting votes (if within date range)
- Cannot modify candidates or details
- Shows vote count to admins
- Can be closed early or deleted
- Automatically closes at end date
CLOSED
- Voting has ended
- Results are calculated and displayed
- Visible to all users (including voters)
- Cannot be reopened
- Ties can be resolved
- Can be deleted
Best Practices
Troubleshooting
Can’t activate election
- Check candidates: At least one candidate must be added
- Verify dates: Start date must be before end date
- Status check: Election must be in DRAFT status
Candidates not appearing
- Refresh the election detail page
- Verify you clicked “Add Candidate” (not just cancel)
- Check for error messages after submission
Wrong election type selected
- If in DRAFT: Delete and recreate the election
- If ACTIVE: Cannot change type, must create new election
Need to change dates
- If in DRAFT: Delete and recreate (dates cannot be edited)
- If ACTIVE: Can close early, but cannot extend
- Plan dates carefully before activation
Voters can’t see election
- Verify election is ACTIVE status
- Check current date/time is between start and end dates
- Ensure voters are APPROVED status
- Voters won’t see elections they’ve already voted in
Advanced Scenarios
Running Multiple Elections Simultaneously
You can run multiple elections at the same time:- Voters see all available elections
- Each election has independent vote tracking
- Results are calculated separately
- Voters can vote in multiple elections
Handling Election Updates
If you need to change an active election:- Close the current election early
- Create a new election with correct details
- Add candidates to the new election
- Activate when ready
- Communicate changes to voters
Scheduling Future Elections
You can create and activate elections with future start dates:- Create election in DRAFT
- Add candidates
- Activate with start date in the future
- Election appears to voters but voting disabled until start date
- Voting automatically opens at start date