=== DrillerDB Quote Form ===
Contributors: drillerdb
Tags: quote form, well drilling, contractor, lead form
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Adds the DrillerDB quote request form to your WordPress site with a shortcode or a block.

== Description ==

For water well contractors with a claimed listing on DrillerDB. The plugin shows the DrillerDB quote request form on your own site. Visitors fill it in there, and each request goes through DrillerDB to the email address on your DrillerDB listing and shows in the Quotes tab of your contractor dashboard.

* Settings > DrillerDB Quote Form: your listing id, contact email, form on the page or a "Request a quote" button, and an optional "Powered by DrillerDB" link (off by default).
* Shortcode: [drillerdb_quote_form], or [drillerdb_quote_form mode="popup"] for the button on one page.
* Block: "DrillerDB Quote Form".

The form itself is loaded from DrillerDB (https://app.drillerdb.com/js/quoteForm/drillerdbquote.js), and only on pages that show it. The plugin makes no other outside requests and adds no tracking of its own. When a visitor sends the form, what they typed is sent to DrillerDB.

Setup guide: https://drillerdb.com/docs/integrations/wordpress-quote-form

== Installation ==

1. In WordPress, go to Plugins > Add New Plugin > Upload Plugin and choose drillerdb-quote-form.zip.
2. Activate the plugin.
3. Go to Settings > DrillerDB Quote Form. Enter the listing id from the Quote form tab of your DrillerDB contractor dashboard, and the email address on your listing. Save.
4. Add the "DrillerDB Quote Form" block to a page, or paste [drillerdb_quote_form].

== Frequently Asked Questions ==

= Where do I find my listing id? =

In your DrillerDB contractor dashboard, on the Quote form tab. The dashboard is for listings you have claimed on drillerdb.com.

= Who receives the requests? =

DrillerDB sends each request to the email address on your DrillerDB listing. The email you enter in the plugin only has to be a valid address; it does not change who receives requests. To change where requests go, change the email on your listing.

= The form does not show. =

The form shows only once a listing id and a valid email address are saved. Until then, site administrators see a short note where the form would be, and visitors see nothing.

= What does the "Powered by DrillerDB" setting do? =

When it is on, a plain link to drillerdb.com shows under the form, in place of the small line the form shows on its own. It is off unless you turn it on.

= What happens when I delete the plugin? =

Deleting it from the Plugins screen removes its settings.

== Changelog ==

= 1.0.0 =
* First release: settings page, shortcode and block.
