Do Contact Form
A simple, customizable contact form plugin for WordPress that allows users to submit inquiries and stores them in a database for easy management.
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/dinesh-n98/docontact/archive/refs/heads/main.zipDoContact - WordPress Contact Form Plugin
A simple, customizable contact form plugin for WordPress that allows users to submit inquiries and stores them in a database for easy management.
Description
DoContact is a lightweight WordPress plugin that provides a fully functional contact form with AJAX submission, form validation, and an admin dashboard for managing submissions. It features customizable fields, responsive design, and easy integration via shortcodes.
Features
- AJAX-Powered Form Submission: Seamless form submission without page reload
- Form Validation: Client-side and server-side validation for all fields
- Customizable Fields: First name, last name, email, phone, service selection, and message
- Admin Dashboard: View, search, and manage all form submissions
- Bulk Actions: Delete multiple submissions at once
- Pagination: Efficient handling of large numbers of submissions
- Settings Panel: Customize services, form headers, and thank you messages
- Responsive Design: Works perfectly on all devices
- Shortcode Integration: Easy to add to any page or post
- Database Storage: Secure storage of all submissions
- Custom Styling: Includes custom CSS and font for professional appearance
Installation
- Download the plugin files
- Upload the
DoContactfolder to the/wp-content/plugins/directory - Activate the plugin through the 'Plugins' menu in WordPress
- The plugin will automatically create the necessary database table upon activation
Usage
Adding the Contact Form
Use the shortcode [docontact_form] in any page or post content where you want the contact form to appear.
Adding the Thank You Page
Use the shortcode [docontact_thankyou] to display a thank you page (optional, as the form redirects automatically after submission).
Accessing Admin Features
- Go to WordPress Admin → DoContact
- View all form submissions in a table format
- Use search filters to find specific submissions by email or phone
- Manage submissions with bulk delete functionality
Settings
Access the settings through WordPress Admin → DoContact → Settings
Services Tab
- Add, edit, or remove services that appear in the form's dropdown menu
- Services are customizable and can be managed dynamically
Form Customization Tab
- Set custom header and subheader text for the contact form
- Personalize the form's appearance and messaging
Thank You Page Tab
- Customize the title and message displayed after successful form submission
- Create a personalized thank you experience
Instructions Tab
- Built-in help and usage instructions
- Shortcode reference and troubleshooting tips
Form Fields
The contact form includes the following fields:
- First Name (required)
- Last Name (optional)
- Email (required)
- Phone Number (required)
- Service Required (dropdown, optional)
- Message (textarea, optional, max 600 characters)
Database Structure
The plugin creates a custom table wp_docontact_submissions with the following fields:
id- Primary keyfirst_name- User's first namelast_name- User's last nameemail- User's email addressphone- User's phone numberservice- Selected servicemessage- User's messagesubmission_date- Timestamp of submissionstatus- Submission status (default: 'new')
Changelog
Version 18 Dec, 2025
- Initial release
- AJAX form submission
- Admin dashboard with submission management
- Customizable settings
- Responsive design
- Database integration
Author
Dinesh Narada
License
This plugin is licensed under the GPL v2 or later.
Support
For support or feature requests, please contact the plugin author.
Contributing
Contributions are welcome! Please feel free to submit pull requests or open issues on the plugin's repository.
DoContact - Making contact forms simple and effective for WordPress websites.