and how do i do this?
Main Topics
Browse All Topicsdeveloping 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-Langua
<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='t
<!--WEBBOT BOT=SaveResults
U-File="_private\formrslt.
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"
</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></T
<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.
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.
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.
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.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
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.
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='t
<!--WEBBOT BOT=SaveResults
U-File="_private\formrslt.
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?
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.
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)
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-Langua
<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"
</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></T
<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>
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/
http://www.aspin.com/home/
http://www.aspin.com/home/
http://www.carlprothman.ne
http://www.connectionstrin
>>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.
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
(i'm sorry that i can't provide a workabout solution here)
hope that helps
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.
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_FullNa
Contact_Information_Street
Contact_Information_Addres
Contact_Information_City = Replace(Request("Contact Information_City"),"'","''
Contact_Information_State = Replace(Request("Contact Information_State"),"'","'
Contact_Information_ZipCod
Contact_Information_WorkPh
set conn=server.CreateObject("
conn.Open "Provider=MICROSOFT.JET.OL
SQLStr = "Insert into myTable ( " & _
"[Contact Information_FullName], [Contact Information_StreetAddress]
"[Contact Information_State], [Contact Information_ZipCode], [Contact Information_WorkPhone] " & _
") Values ( " & _
"'" & Contact_Information_FullNa
"'" & Contact_Information_State & "', '" & Contact_Information_ZipCod
") "
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/
http://www.aspin.com/home/
http://www.aspin.com/home/
http://www.carlprothman.ne
http://www.connectionstrin
hope that help!
Business Accounts
Answer for Membership
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.