After finding several unclear methods to submit an HTML form online, including what's found at w3, I've decided to ask here.
The form that I currently have is a bit weak, as it's a <form action="mailto:blah@blah.com"> and I'd rather something that 1. doesn't show the email address it's sending to, and 2. gives you a "thank you for your submission" screen.
I tried looking into some CGI thing, but I couldn't get it - Though, I did eventually figure out the jquery thing I was looking into before.
Question
TheTempestSonata
After finding several unclear methods to submit an HTML form online, including what's found at w3, I've decided to ask here.
The form that I currently have is a bit weak, as it's a <form action="mailto:blah@blah.com"> and I'd rather something that 1. doesn't show the email address it's sending to, and 2. gives you a "thank you for your submission" screen.
I tried looking into some CGI thing, but I couldn't get it - Though, I did eventually figure out the jquery thing I was looking into before.
the website is: http://www.esu.edu/d2l
I gave the form.html file to my supervisor, but I don't know if he uploaded it to the server just yet.
Thanks.
EDIT: As it's not uploaded (and my supervisor's a bit busy), I'll just include the code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <link rel="shortcut icon" href="images/favico.png" /> <link href="css/main.css" rel="stylesheet" type="text/css" /> <title>D2L Help Website</title> </head> <body class="main" topmargin="0" marginheight="0"> <center> <img src="images/banner.jpg" alt="" /> <table class="tbl"> <tr> <td class="list" valign="top"> <form action="mailto:_blank_@esu.edu" method="post" enctype="text/plain"> Name: <br /><input type="text" name="name" /><br /><br /> Email: <br /><input type="text" name="email" /><br /><br /> Phone: <br /><input type="text" name="phone" /><br /><br /> Best Time to Contact You: <br /><input type="text" name="time" /><br /><br /> <br /> Type of problem:<br /> <input type="checkbox" name="problem" value="login" /> Logging In<br /> <input type="checkbox" name="problem" value="uploading" /> Uploading<br /> <input type="checkbox" name="problem" value="quizzes" /> Quizzes<br /> <input type="checkbox" name="problem" value="other" /> Other<br /> <br /> Description of the Problem:<br/> <textarea rows="5" cols="30" name="description" value="description"></textarea> <br /> <input type="submit" value="Submit"> <input type="reset" value="Reset"> </form> </td> </tr> </table> </center> </body> </html>Link to comment
Share on other sites
14 answers to this question
Recommended Posts