Question

HTML FORM HELP 500 Points

Asked by: mdmcq5

developing a form, that i thought would put the results into the _private folder as _private\formrslt.htm but nothing happens. am i missing something in my code?
whoever helps me get this form working gets 500 points!
<HTML>
<HEAD>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<meta http-equiv="Content-Language" content="en-us">
<TITLE>Request Information</TITLE>
</HEAD>
<BODY>
<H1>Want More Information?</H1>
<HR>
<P>
Please fill out this form in order to obtain additional information...</P>
<FORM METHOD="POST" ACTION="--WEBBOT-SELF--" onSubmit="location.href='thankyou.htm';return false;" webbot-onSubmit>
<!--WEBBOT BOT=SaveResults
    U-File="_private\formrslt.htm"
    S-Format="HTML/DL"
    B-Label-Fields="TRUE" startspan
--><input TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><!--webbot bot="SaveResults" i-checksum="43374" endspan --><P>
Please provide the following contact information:</P>
<BLOCKQUOTE>
<TABLE>
<TR>
<TD ALIGN="right">
<EM>Name</EM></TD>
<TD>
<INPUT TYPE=TEXT NAME="Contact Information_FullName" SIZE=35>
</TD>
</TR>
<TR>
<TR>
<TD ALIGN="right">
<EM>Street Address</EM></TD>
<TD>
<INPUT TYPE=TEXT NAME="Contact Information_StreetAddress" SIZE=35>
</TD>
</TR>
<TR>
<TD ALIGN="right">
<EM>Address (cont.)</EM></TD>
<TD>
<INPUT TYPE=TEXT NAME="Contact Information_Address2" SIZE=35>
</TD>
</TR>
<TR>
<TD ALIGN="right">
<EM>City</EM></TD>
<TD>
<INPUT TYPE=TEXT NAME="Contact Information_City" SIZE=35>
</TD>
</TR>
<TR>
<TD ALIGN="right">
<EM>State/Province</EM></TD>
<TD>
<INPUT TYPE=TEXT NAME="Contact Information_State" SIZE=35>
</TD>
</TR>
<TR>
<TD ALIGN="right">
<EM>Zip/Postal Code</EM></TD>
<TD>
<INPUT TYPE=TEXT NAME="Contact Information_ZipCode" SIZE=12 MAXLENGTH=12>
</TD>
</TR>
<TR>
<TD ALIGN="right">
<EM>Work Phone</EM></TD>
<TD>
<INPUT TYPE=TEXT NAME="Contact Information_WorkPhone" SIZE=25 MAXLENGTH=25>
</TD>
</TR>
<TR>
<TD ALIGN="right">
<EM>Home Phone</EM></TD>
<TD>
<INPUT TYPE=TEXT NAME="Contact Information_HomePhone" SIZE=25 MAXLENGTH=25>
</TD>
</TR>
<TR>
<TD ALIGN="right">
<EM>E-mail</EM></TD>
<TD>
<INPUT TYPE=TEXT NAME="Contact Information_Email" SIZE=25>
</TD>
</TR>
<TR>
<TD ALIGN="right">
<EM>Desired form of payment</EM></TD>
<TD>
<INPUT TYPE=RADIO NAME="Personal Information_Insurance" VALUE="Insurance" CHECKED>
Insurance <INPUT TYPE=RADIO NAME="Personal Information_Insurance" VALUE="Cash Pay Patient">
Cash Pay Patient </TD>
</TR>

</TABLE>
</BLOCKQUOTE>
<P>
Please identify and describe yourself:</P>
<BLOCKQUOTE>
<TABLE>
<TR>
<TD ALIGN="right">
<EM>Date of Birth</EM></TD>
<TD>
<INPUT TYPE=TEXT NAME="Personal Information_DateOfBirth" SIZE=8>
</TD>
</TR>
<TR>
<TD ALIGN="right">
<EM>Sex</EM></TD>
<TD>
<INPUT TYPE=RADIO NAME="Personal Information_Sex" VALUE="Male" CHECKED>
Male <INPUT TYPE=RADIO NAME="Personal Information_Sex" VALUE="Female">
Female </TD>
</TR>
<TR>
<TD ALIGN="right">
<EM>Height</EM></TD>
<TD>
<INPUT TYPE=TEXT NAME="Personal Information_Height" SIZE=6 MAXLENGTH=6>
</TD>
</TR>
<TR>
<TD ALIGN="right">
<EM>Weight</EM></TD>
<TD>
<INPUT TYPE=TEXT NAME="Personal Information_Weight" SIZE=6 MAXLENGTH=6>
</TD>
</TR>
<TR>
<TD ALIGN="right">
<EM>BMI (Body Mass Index)</EM></TD>
<TD>
<INPUT TYPE=TEXT NAME="Personal Information_BMI" SIZE=6 MAXLENGTH=6>
</TD>
</TR>

</TABLE>
</BLOCKQUOTE>
<P>
Please ask questions or address concerns below:</P>
<BLOCKQUOTE>
<textarea rows="8" name="S1" cols="51"></textarea>
</BLOCKQUOTE>
<INPUT TYPE=SUBMIT VALUE="Submit Form">
<INPUT TYPE=RESET VALUE="Reset Form">
</FORM>
<HR>
<H5>
<BR>
Revised:
<!--WEBBOT BOT=TimeStamp
    S-Type="EDITED"
    S-Format="%m/%d/%y" startspan
-->11/09/05<!--WEBBOT BOT=TimeStamp endspan i-checksum="12991"
--></H5>
</BODY>
</HTML>

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2005-11-09 at 18:02:09ID21625768
Tags

webbot

Topic

Hypertext Markup Language (HTML)

Participating Experts
3
Points
500
Comments
29

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Calculate age base on date of birth
    How to compare 2 date using javascript? I have 1 text box to let user key in the date of birth (dd/mm/yyyy format). Now I need the user's age (round down) base on the birth of date, how to do this? * date of birth will be key in into 1 text box. Thanks
  2. Count Where Sex = 'Male' .... ?
    Im trying to do a count on an employee sex in a view I have the following table (example) Department Sex IT M IT F IT M Other F Other M Other ...
  3. Date of birth entry.
    I am designing forms which will be asking people for their date of birth. I was thinking to use 3 inputs: combos for day / month then let them key in the year. How can I provide my users a seamless manner in which to input this information, then how do I convert that value ...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: ryancysPosted on 2005-11-09 at 22:50:29ID: 15263219

>>would put the results into the _private folder as _private\formrslt.htm but nothing happens. am i missing something in my code?
You need to have a Server Side Scripting Language at behind of your HTML, meaning that you submit this form into a Server Side Script to process, so that you can either save the submitted result into a file at your target folder, or save it into a backend database.

 

by: mdmcq5Posted on 2005-11-10 at 04:35:58ID: 15264594

and how do i do this?

 

by: ryancysPosted on 2005-11-10 at 04:39:22ID: 15264620

Do you have any Server Side Scripting Languages like ASP, ASP.NET, PHP, ColdFusion, JSP, etc running on your server? Generally you need to change the form's Action and point to a Server Side Scripts, so that it can saves your submitted data into a file or database.

 

by: mdmcq5Posted on 2005-11-10 at 04:41:57ID: 15264635

i know it has asp, but if you're telling me to change the form's action you'll have to be more specific as for how i can do that, and i do save the action will it still save in the public/html file? or someplace else?

 

by: JRockFLPosted on 2005-11-10 at 05:15:17ID: 15264824

It looks like you are using good old FrontPage! Is that correct?

 

by: ryancysPosted on 2005-11-10 at 05:19:03ID: 15264854

Generally i will prefer to save the info into database. your form action will change to as:

<FORM METHOD="POST" ACTION="process.asp" onSubmit="return validation(this)">

where your submitted data will post to "process.asp" to process.

Let us know if you need further helps here.

 

by: mdmcq5Posted on 2005-11-10 at 08:35:47ID: 15266709

yes, i'm using frontpage....

and changing the form method to your suggestion, should all of this be deleted?

<FORM METHOD="POST" ACTION="--WEBBOT-SELF--" onSubmit="location.href='thankyou.htm';return false;" webbot-onSubmit>
<!--WEBBOT BOT=SaveResults
    U-File="_private\formrslt.htm"
    S-Format="HTML/DL"
    B-Label-Fields="TRUE" startspan
--><input TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><!--webbot bot="SaveResults" i-checksum="43374" endspan -->

I still want it to go to a thank you screen once submitted. and where would the process.asp form be created in order to view?

 

by: JRockFLPosted on 2005-11-10 at 08:38:27ID: 15266746

Since you are using FrontPage, there should not be a need to change the generate code.
Since you are using the built in FrontPage components, in order for it to work properly it needs to viewed from a web server that has the FrontPage Extensions installed. If you tried to view it locally, it wouldn't work.

 

by: JRockFLPosted on 2005-11-10 at 08:40:53ID: 15266772

What version of FrontPage? I have FrontPage 2000 installed on one of my computers. IF you right cick on the form and select form properties and make adjustments.

Also, you need to publish the web with FrontPage, and not FTP or it will break.

 

by: ryancysPosted on 2005-11-10 at 08:41:22ID: 15266776

you can clean it up to as:

<FORM METHOD="POST" ACTION="process.asp">
<input TYPE="hidden" NAME="VTI-GROUP" VALUE="0">

...

>>I still want it to go to a thank you screen once submitted. and where would the process.asp form be created in order to view?
Generally, the data will be posted to your process page (process.asp) and then after the data is proceed (either save to a file or save into database), the process.asp will be redirected to your thank you page (thankyou.htm)

 

by: ryancysPosted on 2005-11-10 at 08:42:38ID: 15266797

and yup, i don't like to use FrontPage :/

 

by: mdmcq5Posted on 2005-11-10 at 08:52:34ID: 15266916

i'm using frontpage 2003, and how will the process.asp file redirect to a thank you page if there is no place where it's specified to do so? also, is it still ok, if the form page is named info.htm?

 

by: ryancysPosted on 2005-11-10 at 08:55:52ID: 15266959

in ASP syntax, to do a page redirection, you can try add like:

process.asp:

<%
       'Save your submitted info 1st
       '....


        response.redirect "thankyou.htm"
%>

basically process.asp will be same directory as the info.html and thankyou.htm.

In short, the work flow is like:
info.htm --> process.asp --> thankyou.htm

 

by: mdmcq5Posted on 2005-11-10 at 08:58:59ID: 15266997

ok, i'll give it a shot and let you know what happens.

 

by: mdmcq5Posted on 2005-11-10 at 09:00:18ID: 15267012

another question about this comment:
---->Also, you need to publish the web with FrontPage, and not FTP or it will break<-----

i'm creating all these pages and copying them over to ftp, i'm not publishing through frontpage.

 

by: webwomanPosted on 2005-11-10 at 11:12:52ID: 15268243

If you're not using FrontPage to publish, none of the FP features will work. You MUST publish with FP, AND to a Windows server with FP extensions enabled.

You have to do it that way. There are no other options, not if you want your forms to work.

 

by: mdmcq5Posted on 2005-11-11 at 11:53:32ID: 15276420

ok, something must not be right in the code b/c it's still not working:

<HTML>
<HEAD>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<meta http-equiv="Content-Language" content="en-us">
<TITLE>Request Information</TITLE>
</HEAD>
<BODY>
<H1>Want More Information?</H1>
<HR>
<P>
Please fill out this form in order to obtain additional information...</P>
<FORM METHOD="POST" ACTION="process.asp">

<input TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><P>

process.asp:

<%
       'Save your submitted info 1st
       '....


        response.redirect "thankyou.htm"
%>

Please provide the following contact information:</P>
<BLOCKQUOTE>
<TABLE>
<TR>
<TD ALIGN="right">
<EM>Name</EM></TD>
<TD>
<INPUT TYPE=TEXT NAME="Contact Information_FullName" SIZE=35>
</TD>
</TR>
<TR>
<TR>
<TD ALIGN="right">
<EM>Street Address</EM></TD>
<TD>
<INPUT TYPE=TEXT NAME="Contact Information_StreetAddress" SIZE=35>
</TD>
</TR>
<TR>
<TD ALIGN="right">
<EM>Address (cont.)</EM></TD>
<TD>
<INPUT TYPE=TEXT NAME="Contact Information_Address2" SIZE=35>
</TD>
</TR>
<TR>
<TD ALIGN="right">
<EM>City</EM></TD>
<TD>
<INPUT TYPE=TEXT NAME="Contact Information_City" SIZE=35>
</TD>
</TR>
<TR>
<TD ALIGN="right">
<EM>State/Province</EM></TD>
<TD>
<INPUT TYPE=TEXT NAME="Contact Information_State" SIZE=35>
</TD>
</TR>
<TR>
<TD ALIGN="right">
<EM>Zip/Postal Code</EM></TD>
<TD>
<INPUT TYPE=TEXT NAME="Contact Information_ZipCode" SIZE=12 MAXLENGTH=12>
</TD>
</TR>
<TR>
<TD ALIGN="right">
<EM>Work Phone</EM></TD>
<TD>
<INPUT TYPE=TEXT NAME="Contact Information_WorkPhone" SIZE=25 MAXLENGTH=25>
</TD>
</TR>
<TR>
<TD ALIGN="right">
<EM>Home Phone</EM></TD>
<TD>
<INPUT TYPE=TEXT NAME="Contact Information_HomePhone" SIZE=25 MAXLENGTH=25>
</TD>
</TR>
<TR>
<TD ALIGN="right">
<EM>E-mail</EM></TD>
<TD>
<INPUT TYPE=TEXT NAME="Contact Information_Email" SIZE=25>
</TD>
</TR>
<TR>
<TD ALIGN="right">
<EM>Desired form of payment</EM></TD>
<TD>
<INPUT TYPE=RADIO NAME="Personal Information_Insurance" VALUE="Insurance" CHECKED>
Insurance <INPUT TYPE=RADIO NAME="Personal Information_Insurance" VALUE="Cash Pay Patient">
Cash Pay Patient </TD>
</TR>

</TABLE>
</BLOCKQUOTE>
<P>
Please identify and describe yourself:</P>
<BLOCKQUOTE>
<TABLE>
<TR>
<TD ALIGN="right">
<EM>Date of Birth</EM></TD>
<TD>
<INPUT TYPE=TEXT NAME="Personal Information_DateOfBirth" SIZE=8>
</TD>
</TR>
<TR>
<TD ALIGN="right">
<EM>Sex</EM></TD>
<TD>
<INPUT TYPE=RADIO NAME="Personal Information_Sex" VALUE="Male" CHECKED>
Male <INPUT TYPE=RADIO NAME="Personal Information_Sex" VALUE="Female">
Female </TD>
</TR>
<TR>
<TD ALIGN="right">
<EM>Height</EM></TD>
<TD>
<INPUT TYPE=TEXT NAME="Personal Information_Height" SIZE=6 MAXLENGTH=6>
</TD>
</TR>
<TR>
<TD ALIGN="right">
<EM>Weight</EM></TD>
<TD>
<INPUT TYPE=TEXT NAME="Personal Information_Weight" SIZE=6 MAXLENGTH=6>
</TD>
</TR>
<TR>
<TD ALIGN="right">
<EM>BMI (Body Mass Index)</EM></TD>
<TD>
<INPUT TYPE=TEXT NAME="Personal Information_BMI" SIZE=6 MAXLENGTH=6>
</TD>
</TR>

</TABLE>
</BLOCKQUOTE>
<P>
Please ask questions or address concerns below:</P>
<BLOCKQUOTE>
<textarea rows="8" name="S1" cols="51"></textarea>
</BLOCKQUOTE>
<INPUT TYPE=SUBMIT VALUE="Submit Form">
<INPUT TYPE=RESET VALUE="Reset Form">
</FORM>
<HR>
<H5>
<BR>
</H5>
</BODY>
</HTML>

 

by: webwomanPosted on 2005-11-13 at 19:14:36ID: 15285469

The process.asp page has to be the form processor, NOT the form.

 

by: ryancysPosted on 2005-11-13 at 19:26:24ID: 15285506

As webwoman mentioned, you need to create a new file called process.asp but not put the ASP scripts within your info.htm.

If you wish to save your info into a database, here are some useful resources:
http://www.aspin.com/home/tutorial/database/addrecor
http://www.aspin.com/home/tutorial/database/dbconn
http://www.aspin.com/home/tutorial/database

http://www.carlprothman.net/Default.aspx?tabid=81
http://www.connectionstrings.com

 

by: mdmcq5Posted on 2005-11-16 at 18:54:44ID: 15308586

ok....so i have the process.asp page w/the asp info redirecting to the thankyou page. that works from the info page, but the process.asp is in the same folder as the info page and am a little lost as to where to go from here.

 

by: ryancysPosted on 2005-11-16 at 19:15:10ID: 15308644

>>but the process.asp is in the same folder as the info page and am a little lost as to where to go from here.
Can you advise what you trying to do onwards?

 

by: mdmcq5Posted on 2005-11-16 at 19:30:46ID: 15308683

i thought the process.asp would contain the information from the info.htm page, all it does is leads from the info page to the thank you page, and the information that was entered is nowhere to be found.  what am i doing wrong?

 

by: ryancysPosted on 2005-11-16 at 23:12:18ID: 15309671

>>i thought the process.asp would contain the information from the info.htm page, all it does is leads from the info page to the thank you page, and the information that was entered is nowhere to be found.

It's because you need to write ASP scripts in process.asp either to save the submitted info in a backend database or save the info into a file or even trigger to send out an email to administrator. "Response.Redirect" only redirect your page to thank you page, but not saving your submitted data.

 

by: mdmcq5Posted on 2005-11-17 at 04:48:52ID: 15310862

ok, then can you help me figure that part out?

 

by: ryancysPosted on 2005-11-17 at 05:02:14ID: 15310922

you want to save the submitted data into database or a file ?

 

by: mdmcq5Posted on 2005-11-17 at 05:04:02ID: 15310930

whichever way would be easiest for someone who doesn't know what they're doing.  If it's safe sending via email, then email, but some sort of file would be nice. i honestly don't know.

 

by: ryancysPosted on 2005-11-17 at 08:20:53ID: 15312740

For my own opinion, i will prefer to save the submitted data into a database, so that your submitted data is collected by default.

To send out email, you can refer to:
http://www.aspfaq.com/show.asp?id=2119

(i'm sorry that i can't provide a workabout solution here)

hope that helps

 

by: mdmcq5Posted on 2005-11-17 at 16:45:31ID: 15316818

how hard would it be for me to figure out how to submit data into a database? i'm at a real loss as to what i should do.  it's just a q&a form w/basic questions that i want to have submitted someplace and then have the thank you for your time page come up. everything is good but gathering the info someplace.  do you have any examples.

 

by: ryancysPosted on 2005-11-17 at 18:55:57ID: 15317226

if you want to save the submitted info into a database, you can try like:

process.asp: (partially submitted data saved only, you need to customize accordingly, this example save the submitted data into Access database "test.mdb" )

<%
      Contact_Information_FullName = Replace(Request("Contact Information_FullName"),"'","''")
      Contact_Information_StreetAddress = Replace(Request("Contact Information_StreetAddress"),"'","''")
      Contact_Information_Address2 = Replace(Request("Contact Information_Address2"),"'","''")
      Contact_Information_City = Replace(Request("Contact Information_City"),"'","''")
      Contact_Information_State = Replace(Request("Contact Information_State"),"'","''")
      Contact_Information_ZipCode = Replace(Request("Contact Information_ZipCode"),"'","''")
      Contact_Information_WorkPhone = Replace(Request("Contact Information_WorkPhone"),"'","''")
      
      set conn=server.CreateObject("adodb.connection")
      conn.Open "Provider=MICROSOFT.JET.OLEDB.4.0;DATA SOURCE=" & server.MapPath("test.mdb")
      
      SQLStr = "Insert into myTable ( " & _
                   "[Contact Information_FullName], [Contact Information_StreetAddress], [Contact Information_Address2], [Contact Information_City], " & _
                   "[Contact Information_State], [Contact Information_ZipCode], [Contact Information_WorkPhone] " & _
                   ") Values ( " & _
                   "'" & Contact_Information_FullName & "', '" & Contact_Information_StreetAddress & "', '" & Contact_Information_Address2 & "', '" & Contact_Information_City & "', " & _
                   "'" & Contact_Information_State & "', '" & Contact_Information_ZipCode & "', '" & Contact_Information_WorkPhone & "' " & _
                   ") "
      
      conn.execute SQLStr
      conn.Close
        Set conn = Nothing

      response.redirect "thankyou.htm"
            
%>

These links i posted above is very useful for you, you may just try download some sample and customize accordingly:
http://www.aspin.com/home/tutorial/database/addrecor
http://www.aspin.com/home/tutorial/database/dbconn
http://www.aspin.com/home/tutorial/database
http://www.carlprothman.net/Default.aspx?tabid=81
http://www.connectionstrings.com

hope that help!

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...