Create A Secure Form For A WordPress Blog
One of the purposes of a blog is to interact with your readers. All
eVentureBiz web hosting accounts include the
WordPress script for creating your own blog. This tutorial will show you how to create a secure "contact me" form for your WordPress blog. Even if you're not an eVentureBiz client, this tutorial will still show you the basic steps.
Form Scripts
To create a contact form on your WordPress blog you need a script, also known as a WordPress Plugin. A script is basically a set of commands that perform a specific task (like sending E-mail). Many can be found on the Internet for free. eVentureBiz uses a "WordPress Plugin" provided by
Dagon Design.
This tutorial will build you a basic contact me page like the one
eVentureBiz's CEO has on his blog.
Note: There are two versions of this script. One for your WordPress Blog/Site and the other for your standard website. This tutorial is for your blog. Click
here to
view our tutorial on how to set up this script for your website.
| Step 1
Download the plugin from Dagon Design and uncompress dd-formmailer-wp.zip into a folder.
| 1.1 Download the file dd-formmailer-wp.zip
 |
1.2 Uncompress it
 |
|
| Step 2
Open the newly created folder dd-formmailer-wp. You should now see another folder named dd-formmailer all by itself. Upload that entire dd-formmailer folder into
your WordPress plugins directory on your web hosting account.
wordpress/wp-content/plugins/
**As a side note, after you install WordPress it will create the folder "wordpress" in your root directory. We changed our "wordpress" folder name to "blog." If left unchanged, our blog address would be www.eventurebiz.com/wordpress, but since we changed the wordpress folder to blog it now is www.eventurebiz.com/blog.
|
| Step 3
Log-in to your WordPress account.
|
| Step 4
Activate the plugin.
- Click the "Plugins" tab near the top
- Scroll down until you see the "Dagon Design Form Mailer" on the left
- Click "Activate" on the right
|
Step 4.1
 |
|
Step 4.2
 |
|
Step 4.3
 |
|
| Step 5
Configure the form to fit your needs.
| Click the "Options" tab and then "DDFM-Main" tab
 |
| Then fill in the fields below. For Image Verification, we prefer the ReCaptcha method.
You will need to get a ReCaptcha Key for your website to use this method. It's easy and it's free. To do this, go to
ReCaptcha's website and get yourself a private and public key. Once you create an account and give them your website's address, take note of both your public and private keys (they will be long and it's easier to cut and paste). If you have already obtained a key for your website then you don't have to do this again, just enter your previous keys. Once you have your Public and Private Keys, enter them in where it says ReCaptcha Method Options. Finally, click "Update options."
|
|
| Step 6
Now you need to show your form on your blog so people can fill it out and E-mail you. To do this, create a new page (or post) and simply add the following code where you would like your form to appear:

Click view eVentureBiz Blog contact page code to see how John coded his
Contact Me page on his blog.
|
| Step 7
A little more configuring.
- Click the "Options" tab and then the "DDFM1" tab
- Fill in the fields / Edit the fields
- Click "Update Options" at the bottom
| Step 7.1
 |
Step 7.2 - Fill in / edit Under Settings, choose the language you want to use, the web address of the form you just made, and then type in the E-mail address you want your guest's E-mail (i.e. the form's E-mail on file) to go to in the Recipients: field.
Our blog's contact form has an added field called "Website" to it, but it is not required to be filled in by the guest. To add such a field, you would add the following code to the sectioned titled Form Structure. Position the code where you want it to be positioned in your form.
type=text|class=fmtext|label=Website|fieldname=fm_website|max=100
To learn more on how to configure this form, go to
Dagon Design.
|
| Step 7.3 Click Update options
|
|
We hope you found this tutorial useful,
eVentureBiz Team
<< Back To Tutorials List