Adding Forms To Wordpress

I needed a plugin to squeeze a contact form into Wordpress, so I went a surfin’. I came up with is this… Contact Form 7. A robust and easy to use Wordpress plugin. It works really well, however… As we all know, with any plugin, the first thing one wants to do it customize it. So here are a few ideas to make it all the better. I’m using Wordpress 2.9.1 and Contact Form 7 2.1.1.

Tip #1

After the user clicks the submit/send button, it’s always a good idea to give the user some sort of visual verification that the information has been successfully sent.

There are a bunch of different ways to accomplish this, every one has their own preferences, my favorite is to take the user to a ”Thank You” page. So after the user clicks, Contact Form 7 will send the user to a page of my choice.

First thing to do is create a new page in Wordpress. Name it “Thanks” or any name you want. Now go to the Admin dashboard. Obviously you need to have installed and activated the plugin. On the left sidebar, at the very bottom, are the CONTACT preferences. Go to the last input-field and write in this code:
on_sent_ok: "location.replace('http://your domain.com/yourdestinationpagename/');"
That’s all there is to it. Just make sure your quotes are plain and not ‘fancy’ when typing this code in.

NOTE:

A few have had trouble getting this plugin to work. Don’t give up on it. Check your home, index, whatever main page you use. Make sure your theme calls:
<?php wp_footer(); ?>
Most plugins need this to work correctly. If your theme is a little older it may call:
<?php get_footer(); ?>
So you’ll need to change that.

Not commented yet.

LEAVE A COMMENT