=== Divine Smart Forms === Contributors: divineboyaditya Tags: forms, contact form, form builder, entries, google sheets Requires at least: 6.0 Tested up to: 6.9 Requires PHP: 7.4 Stable tag: 1.2.1 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Build and manage smart forms with email notifications, Google Sheets sync, file uploads, and entry management. == Description == Divine Smart Forms is a flexible form builder plugin for WordPress that helps you create and publish custom forms without depending on external form platforms. You can build forms from the WordPress admin area, publish them with a shortcode, collect entries in your dashboard, and connect submissions to follow-up workflows like email and Google Sheets. = Why use Divine Smart Forms? = * Create custom forms directly inside WordPress * Manage form entries from your own admin dashboard * Send email notifications to admins and users * Sync submissions to Google Sheets * Support file uploads and multiple field types * Keep form data in your WordPress site using plugin-owned tables = Key features = * Drag-and-drop style form builder in wp-admin * Shortcode-based form embedding * Entry listing and management * Reusable email templates * User and admin email notification support * Google Sheets integration settings * File upload support * Configurable form settings * Optional debug logging * Optional delete-all-data-on-uninstall setting = How to use this plugin = 1. Install and activate the plugin. 2. In wp-admin, go to `Divine Forms`. 3. Click `+ Add New` to create a new form. 4. Add your fields and configure the form settings. 5. Save the form. 6. Copy the generated shortcode from the forms list. 7. Paste the shortcode into any page, post, or widget area. 8. View submitted entries from `Divine Forms > All Entries`. = Shortcode = Use the shortcode below to display a form on the front end: `[divismfo_form id="123"]` Replace `123` with your actual form ID. = Typical workflow = 1. Create a form for contact, enquiry, booking, feedback, or lead collection. 2. Publish it on a page using the shortcode. 3. Configure admin or user email notifications if needed. 4. Enable email or Google Sheets options based on your workflow. 5. Track submissions from the WordPress admin area. = Benefits for site owners = * Faster lead capture without depending on third-party form services * Centralized submission management inside WordPress * Better follow-up through email workflows * Easier reporting when submissions are synced to Google Sheets * Useful record keeping with saved entries inside WordPress == External services == This plugin can connect to third-party services when you enable the related features in the plugin settings or in a form's configuration. = Google Sheets = This plugin can connect to Google Sheets so form submissions can be written to a spreadsheet and, when needed, a spreadsheet can be created and checked from the WordPress admin area. Data sent: * Google service account credentials that you paste into the plugin settings are used only to request an OAuth access token from Google. * Spreadsheet metadata such as the spreadsheet ID, sheet name, and header row may be requested when you validate or use a Google Sheets connection. * Form submission values are sent to Google Sheets only when Google Sheets sync is enabled for a form and a submission is processed. When data is sent: * When you save and use a Google service account for Sheets access. * When the plugin validates a configured spreadsheet or reads sheet headers. * When a visitor submits a form that has Google Sheets sync enabled. Service provider: * Google: [Google API Services User Data Policy](https://developers.google.com/terms/api-services-user-data-policy), [Google Terms of Service](https://policies.google.com/terms), [Google Privacy Policy](https://policies.google.com/privacy) == Installation == 1. Upload the plugin files to the `/wp-content/plugins/divine-smart-forms` directory, or install the plugin through the WordPress plugins screen directly. 2. Activate the plugin through the `Plugins` screen in WordPress. 3. Open `Divine Forms` in the WordPress admin menu. 4. Create your first form and save it. 5. Copy the shortcode and place it where you want the form to appear. == Frequently Asked Questions == = Does this plugin store entries in WordPress? = Yes. Form entries are stored in the plugin's custom database tables and can be viewed from the WordPress admin area. = How do I display a form on my site? = Create a form in `Divine Forms`, save it, and copy the shortcode from the forms list. Then paste that shortcode into any page or post. = Can I send notification emails? = Yes. The plugin supports user and admin email notifications, and it also includes reusable email templates. = Does the plugin support Google Sheets? = Yes. The plugin includes Google Sheets integration for submissions. = Does this plugin support file uploads? = Yes. The plugin includes file upload support for forms that need attachments from users. = Can I remove plugin data on uninstall? = Yes. Enable the `Delete All Data on Uninstall` option in the plugin settings before deleting the plugin. = Is debug logging available? = Yes. You can enable debug logging from the plugin settings when troubleshooting. == Changelog == = 1.2.1 = * Replaced direct inline admin scripts with enqueued admin JavaScript. * Simplified the plugin feature set by removing WhatsApp, PDF, and payment integrations. * Kept Google Sheets documentation and WordPress-compliant asset loading in place. = 1.2.0 = Fixed All issues. = 1.1.9 = * Fixed redirect submissions so redirect-enabled forms skip the default success message and redirect immediately. * Improved form save/submit JSON handling to avoid corrupting form settings. * Improved debug log creation so troubleshooting logs are actually written when enabled. = 1.1.8 = * Initial public release. * Added a fuller WordPress.org readme with usage instructions, feature overview, and FAQs. == Upgrade Notice == = 1.2.1 = * Updated asset loading and streamlined external service disclosures for plugin review compliance. = 1.2.0 = Fixed All issues. = 1.1.9 = * Fixed redirect submissions so redirect-enabled forms skip the default success message and redirect immediately. * Improved form save/submit JSON handling to avoid corrupting form settings. * Improved debug log creation so troubleshooting logs are actually written when enabled.