SiteExperts.com Logo Home | Community | Developer's Paradise | Jobs
User Groups | Site Tools | Site Information | Search

Inside Technique : Survey Builder
By Scott Isaacs

Our survey builder is a 6-step tool that helps you create pop-up surveys. These surveys are based on our pop-up survey technique. We will be taking your through the following six steps:

  1. Identifying your survey
  2. Asking the question
  3. Defining the answers
  4. Defining a file to save the results
  5. Previewing your survey
  6. Saving your survey

Step 1 - Identify your Survey

Here you identify your survey. The question id is used internally by the script to store when the user responds to the survey. This ID is also stored by the survey making it easy to identify multiple surveys if they are saved in the same file.
Question ID:

Step 2 - What are you asking?

Now you must decide what is the question you are going to ask and the title that is displayed in the title bar of the popup window and above your question.
Title
Question

Step 3 - What are the answers?

This is the last client-related step. You need to define the answers to your survey. Each answer has a displayed and saved value. The answer field is the displayed value. This is what the user sees. The value to store is the value saved when the survey is submitted. Also, you can specify what answer you want to be the default by checking the default checkbox.

Answer:
Value to Store
Default

Step 4 - Setting up the server

We will automatically generate an ASP file that can be used to save your survey results. Enter the path on your system where the file will be saved. This value is stored in a variable in the ASP file we will generate for you:
Save to file:

Step 5 - Choose your submit method

There are two methods of submitted form results to the server, GET and POST. This selection only effects the code we generate for the server. If you are unsure what to select, leave the default value ("GET") since some servers may not configured to support POST.
Get
Post

Step 6 - Preview your survey

You are now done defining your survey. You can now preview the survey in its own popup window or save the results for your own use.


Step 7 - Save the survey

We provide you with two files. The first file is a page template containing your survey, and the second file is the ASP file for saving the results:

Discuss and Rate this Article