P2P Form Field Guide for LevCharity Plugin #
This guide breaks down all user-facing fields and logic found in the Peer-to-Peer (P2P) Signup and P2P Campaign Creation forms when using the LevCharity plugin.
Step 1: Account Signup Form #
Before a user can create a P2P campaign, they must sign up or log in. If the user is already logged in, this form is skipped.
Fields Collected at Signup #
The following table outlines all fields collected during the initial account registration step. #
Field Label | Name/ID | Type | Required | Description |
---|---|---|---|---|
First Name | first_name | text | ✅ | User’s first name |
Last Name | last_name | text | ✅ | User’s last name |
Email Address | user_email | ✅ | Used for login and communication | |
Phone | billing_phone | text | ❌ | Optional – used for donor receipts |
Password | user_password | password | ✅ | User creates account with password |
Confirm Password | confirm_password | password | ✅ | Ensure password is typed correctly |
If a user is already logged in, this form is skipped.
Step 2: P2P Campaign Creation Form #
After account creation, the user is directed to the second form to configure their personal fundraising campaign.
General Info #
This section captures the main campaign content, including the title, short pitch, and full story. #
Label | Name | Type | Description |
---|---|---|---|
Campaign Title | post_title | text | Public title of their campaign |
Subtitle / Card Content | form_card_content | text | Displayed on campaign cards (short pitch) |
Story / Description | post_content | editor | Full campaign story in visual text editor |
Media #
Users can personalize their campaign with a banner and optional gallery images.
Label | Name | Type | Description |
---|---|---|---|
Campaign Banner | _thumbnail_id | media | Large banner image |
Gallery Images | gallery_images | media[] | Optional extra visuals |
Fundraising Goal #
This section lets users define their personal fundraising target and decide if they want to display it publicly.
Label | Name | Type | Description |
---|---|---|---|
Goal Amount | fundraising_goal | number | Set personal goal |
Hide Goal / Raised | hide_goal | toggle | Option to hide fundraising totals |
Amount Settings #
Users can suggest donation amounts and allow custom entries.
Label | Name | Type | Description |
---|---|---|---|
Predefined Donation Amounts | predefined_amounts | repeater | Add $25, $50, etc. |
Allow Other Amount Entry | hide_other_amount | checkbox | Toggle other input box |
Final Confirmation #
Before submitting, users must agree to the terms of participation.
Label | Name | Type | Description |
---|---|---|---|
Agree to Terms | confirmation_agree | checkbox | Confirms campaign creation & fundraising intent |
On submit: A new campaign is created, and user is redirected to a confirmation screen or dashboard.
Account Connection #
Each P2P campaign is connected to a specific user account. This relationship enables the following functionality:
- Users can view campaign performance in their personal dashboard
- Users can edit or share their campaign page
- Admins can view, moderate, and report on all submitted campaigns