=== Frontend Form with CSV Export === Contributors: portdavea Tags: forms, submissions, csv, export Requires at least: 5.0 Tested up to: 6.7 Requires PHP: 7.2 Stable tag: 1.2 License: GPL-2.0-or-later License URI: https://www.gnu.org/licenses/gpl-2.0.html Collect form submissions and export them as a CSV file in WordPress. Includes a reset option. == Description == This plugin allows you to: * Display a customizable form using a shortcode. * Store submissions in a custom database table. * Export all submissions as a CSV file. * Reset the database table to delete all submissions. **Shortcode**: `[pdavea_frontend_form]` **Features:** - Easily export form submissions to a CSV file. - Fully stylable using CSS. - Reset submissions table with a single click. == Installation == 1. Download the plugin files and save them in a folder named `frontend-form-with-csv-export`. 2. Upload the folder to the `wp-content/plugins/` directory of your WordPress installation. 3. Activate the plugin from the WordPress **Plugins** menu. 4. Add `[pdavea_frontend_form]` shortcode to any post, page, or widget. == Frequently Asked Questions == = How can I reset submissions? = Go to the **Form Submissions** menu in the WordPress admin dashboard and click the **Reset Submissions** button. = Can I add more fields to the form? = Yes, you can modify the form in the `render_form()` method of the plugin. Update the database structure and submission handling code accordingly. = Where are the submissions stored? = Submissions are stored in a custom database table named `wp_form_submissions` (or `{prefix}_form_submissions` if you use a custom table prefix). == Changelog == = 1.2 = * Added reset submissions functionality. * Improved security and error handling. * Updated styling options. = 1.1 = * Added CSV export functionality. * Enhanced form shortcode. = 1.0 = * Initial release with basic form and database integration. == Upgrade Notice == = 1.2 = Upgrade to this version to use the reset functionality and improved security. == License == This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see: [https://www.gnu.org/licenses/gpl-2.0.html](https://www.gnu.org/licenses/gpl-2.0.html).