Win Cool Stuff

Forms are Tricky.

But we’re here to make it easier. We’ve got two easy to setup form solutions to make your giveaway entries flow smoothly.

Option 1: Painless Email Form

This easy form script will let you collect entries, emailing the entry to you. You can then collect the entry information in a text or excel file.

Download the free DynaForm script here. Then, do the following:

1. Upload the dynaform.php file to your server. Keep it simple and put it in the main directory of your website. You can also upload the default error.html and thanks.html files into the main directory as well.

2. Go to www.yourwebsite.com/dynaform.php. If you see any errors, refer to the readme.txt file for possible fixes.

3. Copy and paste the following code onto your entry page, changing the following values:
email@yourdomain.com: enter the email address you would like the form sent to.
thanks.html: The page the user gets redirected when they submit the form. If you uploaded the thanks.html file to your site, you can leave this as is. Otherwise, you can change it to the url of the thank you page or your home page.

Form Code »

Option 2: Still Easy, But With More Features

This option has a spam-prevention feature, and will actually take the form submissions and write them to a text file for you. Eliminating this one step will save you tons of time. When the time comes to submit your entry list, simply download the text file and send it to us. You will also get an email copy of entries.

1. Download the form script here and unzip it.

2. Open up the index.php file within the folder in a PLAIN TEXT EDITOR. Scroll down until you see $script_path (line 49). Change www.yourwebsite.com to your domain. Keep /hhg_entry/index.php on the end of your domain, as this tells the site where the form is located. Scroll a few more lines until you see $recipients (line 61), and change email@yourwebsite.com to your email address (where you want the form results sent). Save your changes.

3. Upload the entire “hhg_entry” folder onto your server in the main directory (same place as your index file).

4. On your giveaway page, make the form open in a popup window by using the following code:

Link Code »

5. Test it out. Submit an entry yourself. The form should submit with no errors. You should receive a copy of the email form at the address you specified in step 2. Additionally, if you return to the hhg_entry folder you uploaded on your server, download the file called data.txt. If you open this file, you should see a line with the information you just entered. This is the best feature of this particular form, as at the end of the giveaway all you need to do is download this file and send it our way. Pretty cool.

Problems?

Yes, forms are tricky. Even the simple ones. If you’re having problems with either of the above options, please don’t hestitate to email us at info@happilyhandmade.com. We’re more than happy to help you get your entry form up and running.