472,353 Members | 1,191 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,353 software developers and data experts.

HTML Submit Form Help

Hi there, hope someone can help me.
Code is attached.
Problems I am having:
1. Need to make all fields required except check box.
2. Want it to send info in an email when submitted without sending message from the sender's outlook box.
3. Want it to populate a pop-up message when submitted saying "Thank You!" Then form page closes on click of OK.
Code:
<html>
<head>
<title>Superiordi Request Form</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<form action="MAILTO:myemail@email.com" method="post" enctype="text/plain" name="request_form" id="request_form" onSubmit="checkRequired(this)">
<input type="hidden" name="required" value="date_of_request, name_of_request, email_of_request, description">
<p align="center">&nbsp;</p>
<table width="75%" border="1" bordercolor="#FFFFFF" bgcolor="#FFFFFF">
<tr align="right" valign="top" bordercolor="#FFFFFF" bgcolor="#FFFFFF">
<td width="41%"> <div align="right"><font size="2" face="Arial, Helvetica, sans-serif"><strong>Date
of Request:</strong></font></div></td>
<td width="59%"> <div align="left"><font size="2" face="Arial, Helvetica, sans-serif">
<input name="date_of_request" type="text" id="date_of_request">
</font></div></td>
</tr>
<tr align="right" valign="top">
<td> <div align="right"><font size="2" face="Arial, Helvetica, sans-serif"><strong>Name
of Requestor:</strong></font></div></td>
<td> <div align="left"><font size="2" face="Arial, Helvetica, sans-serif">
<input name="name_of_requestor" type="text" id="name_of_requestor" size="50">
</font></div></td>
</tr>
<tr align="right" valign="top">
<td> <div align="right"><font size="2" face="Arial, Helvetica, sans-serif"><strong>E-mail
of Requestor:</strong></font></div></td>
<td> <div align="left"><font size="2" face="Arial, Helvetica, sans-serif">
<input name="email_of_requestor" type="text" id="email_of_requestor" size="50">
</font></div></td>
</tr>

<tr align="right" valign="top" bordercolor="#FFFFFF" bgcolor="#FFFFFF">
<td nowrap>
<div align="right">
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>Description
of Request:</strong><br>
<em>Include Part Numbers, Names, Etc.</em></font></p>
</div></td>
<td nowrap>
<div align="left">
<p><font size="2" face="Arial, Helvetica, sans-serif">
<textarea name="description" cols="50" rows="5" id="description"></textarea>
</font></p>
</div></td>
</tr>
<tr align="right" valign="top">
<td height="20">
<div align="right"><font size="2" face="Arial, Helvetica, sans-serif"><strong>Low
Priority</strong> <em>(work will begin in 30 days)</em></font></div></td>
<td> <div align="left"><font size="2" face="Arial, Helvetica, sans-serif">
<input name="low_priority" type="checkbox" id="low_priority" value="yes">
</font></div></td>
</tr>
</table>

<p align="center">
<input type="submit" name="Submit" value=" Submit ">
<input id="Clear " type="reset" value=" Clear " name="Clear ">
</p>
</form>

</body>
</html>
Jul 18 '07 #1
2 2887
nomad
664 Expert 512MB
Hi there, hope someone can help me.
Code is attached.
Problems I am having:
1. Need to make all fields required except check box.
2. Want it to send info in an email when submitted without sending message from the sender's outlook box.
3. Want it to populate a pop-up message when submitted saying "Thank You!" Then form page closes on click of OK.
Code:
<html>
<head>
<title>Superiordi Request Form</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<form action="MAILTO:myemail@email.com" method="post" enctype="text/plain" name="request_form" id="request_form" onSubmit="checkRequired(this)">
<input type="hidden" name="required" value="date_of_request, name_of_request, email_of_request, description">
<p align="center">&nbsp;</p>
<table width="75%" border="1" bordercolor="#FFFFFF" bgcolor="#FFFFFF">
<tr align="right" valign="top" bordercolor="#FFFFFF" bgcolor="#FFFFFF">
<td width="41%"> <div align="right"><font size="2" face="Arial, Helvetica, sans-serif"><strong>Date
of Request:</strong></font></div></td>
<td width="59%"> <div align="left"><font size="2" face="Arial, Helvetica, sans-serif">
<input name="date_of_request" type="text" id="date_of_request">
</font></div></td>
</tr>
<tr align="right" valign="top">
<td> <div align="right"><font size="2" face="Arial, Helvetica, sans-serif"><strong>Name
of Requestor:</strong></font></div></td>
<td> <div align="left"><font size="2" face="Arial, Helvetica, sans-serif">
<input name="name_of_requestor" type="text" id="name_of_requestor" size="50">
</font></div></td>
</tr>
<tr align="right" valign="top">
<td> <div align="right"><font size="2" face="Arial, Helvetica, sans-serif"><strong>E-mail
of Requestor:</strong></font></div></td>
<td> <div align="left"><font size="2" face="Arial, Helvetica, sans-serif">
<input name="email_of_requestor" type="text" id="email_of_requestor" size="50">
</font></div></td>
</tr>

<tr align="right" valign="top" bordercolor="#FFFFFF" bgcolor="#FFFFFF">
<td nowrap>
<div align="right">
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>Description
of Request:</strong><br>
<em>Include Part Numbers, Names, Etc.</em></font></p>
</div></td>
<td nowrap>
<div align="left">
<p><font size="2" face="Arial, Helvetica, sans-serif">
<textarea name="description" cols="50" rows="5" id="description"></textarea>
</font></p>
</div></td>
</tr>
<tr align="right" valign="top">
<td height="20">
<div align="right"><font size="2" face="Arial, Helvetica, sans-serif"><strong>Low
Priority</strong> <em>(work will begin in 30 days)</em></font></div></td>
<td> <div align="left"><font size="2" face="Arial, Helvetica, sans-serif">
<input name="low_priority" type="checkbox" id="low_priority" value="yes">
</font></div></td>
</tr>
</table>

<p align="center">
<input type="submit" name="Submit" value=" Submit ">
<input id="Clear " type="reset" value=" Clear " name="Clear ">
</p>
</form>

</body>
</html>
You need to do this in PHP and Html.

nomad
Jul 18 '07 #2
Can you offer any help. I am unfamiliar with PHP...

You need to do this in PHP and Html.

nomad
Jul 18 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: josh dismukes | last post by:
/// here is the code i'm getting a parse error on the last line of the code which /// is </html> any help will be much appreciated. <?php...
1
by: sumithradevi | last post by:
Hello Friends, I have two forms(form1 and form2) on my html page. question1 : can i access form 1 variables in form 2?. if so how? question 2:...
2
by: sumithradevi | last post by:
Hello Friends, I have two forms(form1 and form2) on my html page. question1 : can i access form 1 variables in form 2?. if so how? question 2:...
3
by: Kathy | last post by:
Can someone help me with the code to take the data in four fields on an HTML form and add it to a table in a database on an intranet. Thanks to...
9
by: Veerle | last post by:
Hi, When you use multiple asp:Buttons on one Form, then asp.net generates html submit buttons for all of them. When you put your cursor in one...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the...
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.