A WordPress plugin that adds separate first name and last name fields to Event Tickets RSVP forms, providing better data organization and display in the admin dashboard.
Watch the plugin in action: RSVP Separate Name Fields Demo
- Separate Name Fields: Adds a dedicated "Last Name" field to RSVP forms
- Smart Data Storage: Saves first and last names separately in the database
- Full Name Display: Shows complete names in the admin dashboard
- Modal Integration: Preserves clickable attendee details with full names
- Form Validation: Ensures both first and last names are required
- User-Friendly: Pre-fills last name for logged-in users
- Responsive Design: Works seamlessly with Event Tickets styling
- Download the plugin files
- Upload the
et-rsvp-separate-name-fields
folder to/wp-content/plugins/
- Activate the plugin through the WordPress admin panel
- Create a folder named
et-rsvp-separate-name-fields
in/wp-content/plugins/
- Copy the plugin files into this folder
- Activate the plugin in WordPress admin
- WordPress 5.0 or higher
- Event Tickets 5.0 or higher
- PHP 7.4 or higher
- RSVP Forms: Users see both "Name" (first name) and "Last Name" fields
- Auto-fill: Logged-in users have their last name pre-filled
- Validation: Both fields are required before form submission
- Responsive: Fields adapt to Event Tickets styling
- Separate Storage: First and last names stored as individual meta fields
- Admin Display: "Attendee Information" column shows full names
- Modal Details: Clickable attendee buttons display complete names
- Data Integrity: Maintains backward compatibility with existing data
The plugin creates the following meta fields for each attendee:
_tribe_rsvp_first_name
: Stores the first name_tribe_rsvp_last_name
: Stores the last name_tribe_rsvp_full_name
: Stores the combined full name (for compatibility)
- Template Hooks: Uses Event Tickets template system
- JavaScript Injection: Dynamically adds fields to RSVP forms
- Data Processing: Captures form data during RSVP submission
- Admin Filters: Modifies admin display for better UX
The plugin uses Event Tickets CSS classes for consistent styling:
.tribe-tickets__rsvp-form-field-last-name {
margin-top: 10px;
}
You can customize field labels by filtering the text domain:
add_filter('gettext', function($translation, $text, $domain) {
if ($domain === 'event-tickets' && $text === 'Last Name') {
return 'Surname'; // Custom label
}
return $translation;
}, 10, 3);
Q: The Last Name field doesn't appear A: Ensure Event Tickets is active and you're viewing an event with RSVP enabled.
Q: Names aren't saving properly A: Check that the form is submitting correctly and both fields are filled.
Q: Admin display shows only first names A: Clear any caching plugins and refresh the admin page.
Enable WordPress debug mode to see plugin activity:
// In wp-config.php
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
The plugin automatically handles existing attendees:
- Uses existing name data as first name
- Last name field will be empty for existing records
- Admin display gracefully handles missing last names
When exporting attendee data:
- First and last names are available as separate columns
- Full name is also included for compatibility
- Import functionality preserves separate fields
- Check the demo video for visual guidance
- Review the troubleshooting section above
- Ensure all requirements are met
- Event Tickets: 5.0+
- The Events Calendar: 6.0+
- WordPress: 5.0+
- PHP: 7.4+
- Initial release
- Separate first and last name fields
- Admin dashboard integration
- Form validation
- JavaScript field injection
- Modal display enhancement
- All user input is sanitized
- Uses WordPress nonces for form security
- Follows WordPress coding standards
- No external API calls or data collection
This plugin is released under the GPL v2 or later license.
- Built for Event Tickets by The Events Calendar
- Uses Event Tickets template system
- Compatible with The Events Calendar ecosystem
Made with ❤️ for the Event Tickets community
For questions or support, please refer to the demo video and troubleshooting guide above.