- easy to use – works straight out of the box, just add shortcode
- easy initial set up – no registration
- integrated captcha options
- optionally request booking dates, additional questions or party sizes
- integrated custom css editor
- built in contact manager system
instructions and settings
The settings section is found on the WordPress menu (Settings -> DD Contact Form) and contains four sections: General Settings, User Interface, Extra Information and Custom CSS.
Install and activate the plugin (instructions here)
Type this shortcode where you want your contact form to appear:
The contact form will now appear on the page / post.
settings – general settings
Set, edit or view email settings. View or change captcha settings in security settings section. Enable user details logging in privacy settings section.
Select captcha type: simple addition (default) or google reCaptcha. To use the Google reCaptcha, you will need to sign up and get private and public keys. Sign-up is extremely quick and easy – see here
Offer to save user permission to send newsletters or other updates in the future.
Save the IP address and geolocation information for each contact form user. Please ensure there are no legal issues using this in your area before enabling.
To use the geolocation services, you will need to register with IPinfoDB to get a key. Registration is relatively straightforward – see here
Set recipient email addresses for receiving contact form enquiries.
Configure the sending of a confirmation email to the user once the system has received the form.
Specify an image to display at the top of emails sent by the contact form. The URL should be in absolute format.
settings – user interface
There are two options in the user feedback section.
Form sent action
Once the user has successfully sent their message, you can either send them to a new page or display a thank you message on the current page. This section allows you to specify the custom thank you message and the url to jump to.
The form can be checked for errors in one of two ways. Either the form is checked on the fly, whereby users are shown a green tick or red cross beside each field, or the form is checked when the user presses the ‘Send’ button. Note that the form data is effectively checked twice when the on the fly option is selected, as the form will always check the form data before sending in either case.
This section contains various options for controlling the look and feel of the contact form.
Custom CSS Classes
Note that there are at least two ways to specify css for the form and it’s elements; you can specify custom css classes supplied by your theme / child theme or you can use the Custom CSS editor (DD Contact From Settings, 4th tab). If you would prefer to specify custom classes you can do so here.
If your theme already applies appropriate styling to your contact form buttons then leave this option on the default (WordPress). However, if you’d like to use the jQuery-UI library to style your buttons, then select the jQueryUI option here.
jQuery UI Theme
Select a theme for jQueryUI widgets. The setting only affects the date pickers and buttons and the buttons are only affected if jQueryUI button styling is selected in ‘Button Styling’.
settings – extra information
You can request extra information from the contact form user. Each of the extra information types can be either obligatory or optional. If you only want to ask for these details on posts that are in a certain category, you can specify the category here.
Dates & Times
You may want to request a date or arrival / departure dates – for example a restaurant or hotel room booking. You can ask for arrival and / or departure dates on the contact form using these settings. Optionally, you can also ask for arrival / departure times.
If your contact form is being used to collect bookings, you may want to request the number of people – for example a restaurant or hotel room booking. You can ask for the number of adults and children on the contact form using these settings.
If you want to add extra questions for the user to answer you can specify them here.
settings – css editor
The built is CSS editor allows you to add custom CSS to the form. Once edited, the CSS can be updated immediately using the ‘Update CSS’ button. You can also use the ‘Save Changes’ button to update the CSS, but you’ll have to wait for WordPress to reload the entire page every time you make an edit.
Commonly styled classes
This class will style the buttons on the form
This class will style all the text inputs on the form – name, email, subject and message. If the relevant fields are enabled in the settings, it will also style the simple add captcha, date/time picker displays and extra question fields.
This class will style the party size dropdowns (if enabled in the Extra Information section).
The built in contact manager allows you to instantly recall details of people who have previously contacted you through the contact form. To do this, the contact form logs each contact form enquiry, along with metadata to the WordPress database. The details can then be retrieved using a page only accessible to users whom are both registered on the site (Administrator or Editor) and logged on).
Using the manager page
To use the manager page, create a new page and add the following shortcode:
Although the page is viewable only by registered users (Administrator or Editor), it is recommended that the page be published privately to provide two layers of protection for your client details.
known issues / current bugs / planned features
Possible WP-reCAPTCHA conflict
I received the following report regarding recaptcha compatibility:
I’ve noticed that the ReCaptcha built in to your DD Contact Form conflicts with the WP-reCAPTCHA plugin. If I disable the WP-reCAPTCHA plugin then your form works again.
Status: under review
Default email address
On fresh install, the form defaults to sending form enquiries to the WP admin email address. However, in the forwarded message it contains instructions for setting the recipient of the form’s enquiries, and the plugin settings show no addresses. The plugin should set the admin email in the settings on install.
Status: fix for next update
It’s not currently possible to place the form inside widget. Since the form already performs well in tight spaces, adding a dd contact form widget is under development for the next update.
Status: fix for next update
A very interesting article on captchas has inspired me to look at some creative alternatives – see here: 5 CAPTCHA alternatives to replace your least favorite security tool.
Status: under review
If you have any questions, suggestions or bugs to report, please use the DD Contact Form plugin discussion group here or use the WordPress forum here. Please don’t post support questions below, as I’m not in the habit of checking post comments that often…
about dd contact form
Whilst working on WordPress websites for friends, I found I was unable to find a free contact form plugin that had all the features I needed. The ones that came with themes I’d bought were not so good either, so I started making my own. After 18 months evolution, the plugin was ready. I decided to release it open source, as I feel I’ve benefited greatly from the community over the years. I hope you find it useful.