ASP and Forms: The Request object

We're going to build a form for a website that will automatically email the form's contents to one of a range of email addresses, depending on a radio button selected by the user. I show you how to build this using Dreamweaver MX 2004, and supply the ASP code, and then we examine it to learn how it works. We examine the differences between the GET and POST methods, server-side valiadtion of the form - and when client-side validation with JavaScript is better.



This tutorial uses DMX 2004 for screenshots, but will work unchanged in DMX.

$2.89
- OR -

Overview

Table of Content:

  • The Request object
    • The difference between the GET and POST methods
    • Passing the Information
  • Contact form - a simple example
    • 1. Creating the form tag in Dreamweaver
    • 2. Create the table which will contain the form elements
    • 3. Enter form field titles
    • 4. Insert form fields
    • The ASP script to process the form.
  • Conclusion

Robert Stuttaford

Robert StuttafordI live in Cape Town, South Africa. I've been pushing 1's and 0's ever since my first computer at the age of 11. Ever since then I've always known I'll be a geek. I now work for Wireframe Studio in sunny Cape Town, and have been for the last 3 years. I'm the database / ASP / dynamic Flash guy here. I'm also one of the XHTML / CSS guys. I have alot of fun in my work because I develop solutions in a variety of ways. I always have something to do, and one project is always different to the next. I actually do have a girlfriend amongst all that!

See All Postings From Robert Stuttaford >>

Reviews

Be the first to write a review

You must me logged in to write a review.