Newsletter Sign Up Form to Database Tutorial



Similar documents
Website Pros Templates v1.0. Database Template Overview

Mail Merge Creating Mailing Labels 3/23/2011

Word 2010: Mail Merge to with Attachments

AJ Matrix V5. Installation Manual

Google Sites: Site Creation and Home Page Design

Microsoft Word 2011: Create a Table of Contents

Designing and Implementing Forms 34

Microsoft Access Rollup Procedure for Microsoft Office Click on Blank Database and name it something appropriate.

Instructions for Configuring a SAS Metadata Server for Use with JMP Clinical

1. Starting the management of a subscribers list with emill

Kentico CMS User s Guide 5.0

Mastering Mail Merge. 2 Parts to a Mail Merge. Mail Merge Mailings Ribbon. Mailings Create Envelopes or Labels

Learning Services IT Guide. Access 2013

Virtual Communities Operations Manual

Creating a Table of Contents in Microsoft Word 2011

Getting Started with the Standalone

How to Process Opt-Out Reqeusts in GroupMail (Subscriber Add-On)

Microsoft Office 365 Portal

Introduction to Microsoft Access 2003

How to set up Outlook Anywhere on your home system

Vodafone Business Product Management Group. Hosted Services Announcer Pro V4.6 User Guide

Toad for Data Analysts, Tips n Tricks

SharePoint 2007 Get started User Guide. Team Sites

Merging Labels, Letters, and Envelopes Word 2013

Kentico CMS 5.5 User s Guide

Volume FIRST WALKTHROUGH. The 10-Minute Guide to Using Newsletter Services. First Walkthrough: the 10-Minute Guide

Creating a table of contents quickly in Word

Learn how to create web enabled (browser) forms in InfoPath 2013 and publish them in SharePoint InfoPath 2013 Web Enabled (Browser) forms

SQL Server 2005: Report Builder

UF Health SharePoint 2010 Introduction to Content Administration

Configuring Thunderbird for Flinders Mail at home.

Supplement I.B: Installing and Configuring JDK 1.6

Mail Merge Microsoft Word and Excel Queries Scott Kern Senior Consultant

Managing Files. On a PC, after you find your file, right click it and selet Rename from the pop-up menu.

Personal Portfolios on Blackboard

Google Sites. How to create a site using Google Sites

Gmail Merge. Step 1: Writing the actual e mail

Microsoft Outlook Introduction

Mail Merge (Microsoft Office 2010)

INTRODUCTION TO CONSTANT CONTACT Marketing Program

Adobe Dreamweaver CC 14 Tutorial

Using etoken for Securing s Using Outlook and Outlook Express

An Newsletter Using ASP Smart Mailer and Advanced HTML Editor

OUTLOOK WEB APP (OWA): MAIL

Getting Started using the SQuirreL SQL Client

Microsoft Access 2007

DESIGN A WEB SITE USING PUBLISHER Before you begin, plan your Web site

1. After installing you can launch the program by clicking on the Start button and then select Programs, then WS_FTP LE, and then WS_FTP LE.

OUTLOOK ANYWHERE CONNECTION GUIDE FOR USERS OF OUTLOOK 2010

Instructions: Configuring Outlook 2003 with Exchange 2010 on the FIUMail

General Ledger and Fixed Assets January 12, 2011

Setting Up Your Online ecommerce Shopping Cart

University of Rochester

5. You will need to confirm your registration, by entering a unique code displayed on the page and click Confirm Signup

MAIL MERGE TUTORIAL. (For Microsoft Word on PC)

Scheduling WebEx Meetings

SharePoint How To s / Team Sites 1of 6

Getting Started with Dynamic Web Sites

Microsoft Access 2007 Advanced Queries

Power Point 2003 Table of Contents

In This Issue: Excel Sorting with Text and Numbers

Job Board Integration with eempact

Constant Contact User Manual

Encrypting Your Using the free COMODO Secure Certificate

Advanced Excel Charts : Tables : Pivots : Macros

Jolly Server Getting Started Guide

Configuration Guide. Remote Backups How-To Guide. Overview

Set Up Setup with Microsoft Outlook 2007 using POP3

ODBC Driver Version 4 Manual

TABLE OF CONTENTS. Creating an Account Why Use enewsletters. Setting Up an enewsletter Account. Create/Send Logging In.

Document Management Quick Reference Guide

Marketing Operations Cookbook

Mail Merge: Create Mailing Labels Using Excel Data and Filtering the Contents in the Data

This tutorial provides detailed instructions to help you download and configure Internet Explorer 6.0 for use with Web Commerce application.

Getting Started with WebSite Tonight

Using an Automatic Back Up for Outlook 2003 and Outlook 2007 Personal Folders

Microsoft Excel Tutorial

Account Create for Outlook Express

Intro to Mail Merge. Contents: David Diskin for the University of the Pacific Center for Professional and Continuing Education. Word Mail Merge Wizard

Chapter 28: Expanding Web Studio

Database Forms and Reports Tutorial

Dreamweaver Tutorials Creating a Web Contact Form

CMS Training Manual. A brief overview of your website s content management system (CMS) with screenshots. CMS Manual

Sitecore E-Commerce Cookbook

Produced by Flinders University Centre for Educational ICT. PivotTables Excel 2010

Hands-on Guide. FileMaker Pro. Using FileMaker Pro with Microsoft Office

Importing and Exporting Databases in Oasis montaj

USING MS OUTLOOK. Microsoft Outlook

How To Create A Campaign On Facebook.Com

Livezilla How to Install on Shared Hosting By: Jon Manning

Jump Start: Aspen Simulation Workbook in Aspen HYSYS V8

How to Edit an . Here are some of the things you can do to customize your

VP-ASP Shopping Cart Quick Start (Free Version) Guide Version 6.50 March

FRONTPAGE FORMS

USING MS OUTLOOK WITH FUS

Smart Web. User Guide. Amcom Software, Inc.

Transcription:

Newsletter Sign Up Form to Database Tutorial Introduction The goal of this tutorial is to demonstrate how to set up a small Web application that will send information from a form on your Web site to a back end database. Will this tutorial teach you all there is to know about database driven Web sites? No. The intent is not to drill into technical details but rather to demonstrate how to get a small application up and running as quickly as possible and without the need for you to know programming or platform language details. So what will this tutorial teach you? This tutorial will focus on the following customer objective: I would like to create a location online to store the e mail addresses that visitors submit to me via an online form located on my Web site. Currently, I receive a copy of these submissions one by one and have to copy and paste them into MS Excel so they can be uploaded to my e mail marketing software. I would like to eliminate this tedious work if possible. In this tutorial, you will complete the following steps: Verify that your hosting account supports the database platform. Create a back end database. Add a table to your database. This is where the submitted information will be stored. Add a field to the table. Similar to a table column in a spreadsheet, the field you create is where the e mail addresses will be stored. Connect a NetObjects Fusion site to the back end database you created. Use an existing connector on the site to specify the settings and the name of the backend database you created so that your database will match up with your site. Use the Insert Component to specify the field in your back end database where you want the information submitted on your Web site to be stored. Verify that the settings on the Form field of the Home page match the field name in the database.

Preparation Now that we know the objective, we will need to make sure we have all the necessary tools to accomplish this task: You will need the following: NetObjects Fusion 8.0 with Templates Volume 2.0 Web Hosting account with access to a MySQL database If you haven t done so already, the first step is to install the new Templates Volume 2.0. To avoid starting from the very beginning, we will be using the Newsletter signup feature that comes with the Electronics Superstore template. After you have installed the templates, don t worry about launching NetObjects Fusion 8.0. You will not need it for a few minutes, and it will only be a distraction. Next, you will need to make sure your hosting account supports the necessary database functionality: 1. Make sure the supported database platform is MySQL. This information should be in your hosting account help and documentation. 2. Sign in to your database administration area. You must have the ability to create a Table or have one set up for you, along with the ability to add Rows/Columns within the database. Create the database at this time and write down the name of the database below replacing the? with the database name you create. Database Name =? User = (If different from your hosting account. This information should be listed in your hosting administration area.) Password = (If different from your hosting account. This information should be listed in your hosting administration area.) 3. After you have created the database, you will need to create a Table within the database. Consult your hosting account help or documentation if you are not sure how to create a table. Table Name = customer_nletter (You can essentially use any name you like. For now, it is suggested that you keep the names provided until you are familiar with the set up process.) 4. Once you have created the Table, you now need to create the field or column where the addresses will be held. If we were to look at this from a MS Excel point of view, the set up would be similar to: MS Excel = Database (In our case, this is MySQL.) Spreadsheet Name = Table Column = Field Row = Data

Column (field) Name = email Type = VARCHAR (This refers to the type of data that will be stored in the column (field). I have set mine to VARCHAR. For now, use this type.) 5. After you have completed steps 1 4 above, you are ready to move on to the next steps within NetObjects Fusion 8.0. So what exactly have you accomplished here? At this stage of the tutorial, you should know if your hosting account supports the MySQL database platform. You should also know how to add tables, columns, etc., to your database via the database administration area. You will have essentially prepared the platform to start accepting data from your Web site.

Setting Up Now that the platform is prepared, you are ready to do the design work that will connect the Web site form to the database you created. This section of the tutorial will cover: 1. Connecting the Web Page with the Back End Database 2. Sending Data Connecting the Web Page with the Back End Database Make sure you have the information from the preparation section of this tutorial (database name, table name, etc.). You will need this information to incorporate it into your Web site to create the connection between your Web pages and your database. 1. Launch NetObjects Fusion 8.0 and open the Electronics Superstore template. Open the template by selecting New Site > From Template from the File menu. 2. Open the submissions page in Page view. You will be prompted with the following dialog box: 3. Click OK. We will make minor modifications to an already existing connector. 4. On the page, locate and double click the Connector icon. 5. The Connector newsletter dialog box will open. The name newsletter is created when the connector is first added to the page. For this tutorial, we will leave the connector named newsletter.

There is no need to modify the Type, Host, or Engine information, but you should make sure it matches the illustration above. 6. In the remaining fields, insert the information you wrote down above for the Database, User, and Password. If you click on the Test Connection button you will receive a Connection Failed error. Please disregard this error message. When you publish later in this tutorial you will not receive this error. 7. Click the Database tab. 8. Click on the Add Table button and insert the table name you wrote down above. 9. With the new table you added highlighted, click on the Add Column button and insert the column name from above 10. When complete, the Database section should look like the illustration below: 11. Click OK. There is no need to go into the Recordsets tab at this time. This will be explained in another tutorial and has no effect or functionality related to submitting information from the form to the database. 12. In Page view, click on the Insert icon below the Connector icon. 13. In the Insert Properties properties palette, click SQL Wizard.

14. Review the information and make sure Table: contains the table name from above and Fields: contains the column (field) name from above. 15. Click OK. Congratulations! With a small modification to the form, you will be ready to start seeing results.

Sending Data Now that we have completed the preparation and set up of the database, we are ready to make sure the form is set up correctly. 1. In Page view, click on the Home page. 2. Scroll down until you see the Newsletter Sign Up Layout Region. 3. Select the Layout Region. In the properties dialog box, click the Settings button. 4. Make sure the Settings Action location is correct. This is where the results of the form will be sent. Notice the results go to the page where we just completed setting up the database connection. Remember to change the Action text box to reflect the path to the submissions page as it reflects to your Web site. For example: If the URL to my store were http://www.mydomain.com/store/index.html, then the Action text box would be as it is displayed above. For every other directory added within the /store directory, I would have to add the name of this directory before the html/submissions.php. If you receive a Page Not Found error, which is common when testing, look at the URL to make sure the path to the submissions page is correct. This is necessary so that the.php scripts can pick up the information from the form on your Home page and process it into the database. 5. Click OK. 6. Now, we have to make sure the field responsible for sending over data from the form matches the field we set up in our database. Select the text field just above the Submit

button so that the form properties dialog box appears. 7. Verify the field properties in the properties palette has the value email as the Name: 8. Congratulations! You are now ready to publish to the Internet and test the results. So what exactly have you accomplished here? You have accomplished setting up a form that will be used to submit data from the form on a Web site to a back end MySQL database. Let s run through it again just to clarify the high points. Connecting Reviewed After we set up the database on our hosting platform, we were then ready to get to the fun part of making it useful. The first thing we had to do was make sure that the Web page that will be used to submit information to the database had the information necessary to connect to the back end database on the hosting platform. We did this by adding a Connector component. Every time you wish to interact with a back end database from a Web page, the Web page must contain the Connector component. The information you provide in the Connector dialog box is the roadmap to your database and how it is set up. Sending Data Reviewed After we set up the database on the back end and replicated the data in our Connector component, we were now ready to do something with the data we planned to send over. Since our task was to store the data in a database, we needed a way to insert the information into the database when someone submitted the form. Enter the Insert component. This component tells the back end scripts to Insert the information in this Field, which is located in this Table. Conclusion So what can you use this information for? Just about anything that requires data being submitted from a form to a database. You can create membership sign up forms, newsletter sign ups, subscriber sign up forms, and more. You will notice this tutorial only contains submitting information to a database. Displaying data or other data handling functionality is beyond the scope of this tutorial.