I am working with an HTML form which I am trying to send by Email. When my users click on the submit button, I want the Window to close. For your reference, I have provided the code below:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "
http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<!-- saved from url=(0122)file://C:\Docume
nts%20and%
20Settings
\Mark.loef
fler\Local
%20Setting
s\Temporar
y%20Intern
et%20Files
\OLK11\sam
ple_survey
_2.htm -->
<HTML
xmlns="
http://www.w3.org/1999/xhtml"
><HEAD><TI
TLE>Custom
er Feedback Form</TITLE>
<META http-equiv=Content-Languag
e content=en-us>
<META http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
<META content="MSHTML 6.00.2800.1522" name=GENERATOR></HEAD>
<BODY>
<FORM action="mailto:OCIO_AT_TEA
M@ed.gov?s
ubject= Help Us Improve Services" onSubmit="window.alert('Fo
llowing the execution of security dialogs, this form will be sent by electronic mail and no confirming message will be presented but can be viewed in the sent items area of your mail client software');"
method=post encType=text/plain>
<P> You have received this e-mail because you have recently received consultation from the Assistive Technology Team. This would have been in the form of either an Accessibility Review, Needs Assessment or Technical Assistance. The survey below is used to help the Assistive Technology Team continually
improve the service to our customers. Please take a minute to answer these short
questions. If you are unable to complete the survey from within this Email
message, the survey is attached in html format. Upon submission of your feedback, no confirming message will be presented but can be verified by navigating to the "Sent" items folder of your E-mail client.
<OL>
<P>
<LI>I was treated in a courteous and professional manner.
<P></P><INPUT id=c1 type=radio value=Yes name="courteous treatment"><LABEL
for=c1>Yes</LABEL> <INPUT id=c2 type=radio value=No
name="courteous treatment"><LABEL for=c2>No</LABEL>
<P></P>
<LI>My request was handled in a thorough manner.
<P></P><INPUT id=r1 type=radio value=Yes name="satisfactory resolution"><LABEL
for=r1>Yes</LABEL> <INPUT id=r2 type=radio value=No
name="satisfactory resolution"><LABEL for=r2>No</LABEL>
<P></P>
<LI>The service or information provided was timely.
<P></P><INPUT id=t1 type=radio value=Yes name="timely service"><LABEL
for=t1>Yes</LABEL> <INPUT id=t2 type=radio value=No
name="timely service"><LABEL for=t2>No</LABEL>
<P></P>
<LI>Using the following scale, select the option that best describes your
experience.
<P></P><INPUT id=d1 type=radio value="(1) Very Dissatisfied" name=scale><LABEL
for=d1>(1) Very Dissatisfied</LABEL> <INPUT id=d2 type=radio
value="(2) Dissatisfied" name=scale><LABEL for=d2>(2) Dissatisfied</LABEL>
<INPUT id=n type=radio value="(3) Neutral" name=scale><LABEL for=n>(3)
Neutral</LABEL> <INPUT id=s1 type=radio value="(4) Satisfied"
name=scale><LABEL for=s1>(4) Satisfied</LABEL> <INPUT id=s2 type=radio
value="(5) Very Satisfied" name=scale><LABEL for=s2>(5) Very Satisfied</LABEL>
<P></P>
<LI>Please provide any additional comments to improve this process.
<P></P><TEXTAREA id=C name=Comments rows=10 cols=50></TEXTAREA> </LI></OL><INPUT type=submit value="Submit Survey"> </FORM></BODY></HTML>
Start Free Trial