Click to See Complete Forum and Search --> : Forms in a framed page


lakehook
06-30-2003, 02:52 AM
I created a form that doesn't seem to send the contents of it to the address I have coded.

What am I doing wrong here? It doesn't mail the info you would input into the form to my email address.
(OR you can see the attached txt document)


<HTML>
<TITLE>Career test</TITLE>
<HEAD>
</HEAD>

<BODY>
<TD BGCOLOR="FFFFFF">
<FORM NAME="career">
<FORM METHOD="POST" ACTION="mailto:paul_gajewicz@yahoo.com">
<TABLE BORDER="3" CELLPADDING="2" CELLSPACING="2" ALIGN="CENTER" BORDERCOLOR="483D8b">
<TR>
<TD><B><FONT SIZE="-1">Today's Date:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
<TD><INPUT NAME="date" SIZE="9"</TD></TR>
<TR>
<TD><B><FONT SIZE="-1">Title of Position:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
<TD><INPUT NAME="jobtitle:" SIZE="40"</TD></TR>
<TR>
<TD><B><FONT SIZE="-1">Location:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<TD><INPUT NAME="location:" SIZE="40"</TD></TR>
<TR>
<TD>
<B><FONT SIZE="-1">Description:&nbsp;&nbsp;&nbsp;
<TD><TEXTAREA NAME="description:" ROWS=6 COLS=35></TEXTAREA></TD></TR>
<TR>
<TD>
<B><FONT SIZE="-1">Required Qualifications:&nbsp;&nbsp;
<TD><TEXTAREA NAME="qualifications:" ROWS=6 COLS=35></TEXTAREA></TD></TR>
<TR>
<TD><B><FONT SIZE="-1">Full Time / Part Time:&nbsp;
<TD>
<B><FONT SIZE="-1"><INPUT TYPE="radio" NAME="Full or Part time:" VALUE="Full-time"> FULL-TIME
<B><FONT SIZE="-1"><INPUT TYPE="radio" NAME="Full or Part time:" VALUE="Full-time"> PART-TIME
<TR>
<TD><B><FONT SIZE="-1">Salary Range:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<TD><INPUT NAME="salary:" SIZE="40"</TD></TR>
<TR>
<TD><B><FONT SIZE="-1">Contact Info:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<TD><TEXTAREA NAME="contactinfo:" ROWS=5 COLS=30></TEXTAREA></TD></TR>
</TABLE>

<TABLE BORDER="1" CELLPADDING="1" CELLSPACING="1" ALIGN="CENTER">
<TR>
<TD><INPUT TYPE="submit" VALUE="Submit Application"></TD>
<TD><INPUT TYPE="reset" VALUE="Reset Application"></TD></TR>
</TABLE>

</FORM>
</BODY>
</HTML>

Khalid Ali
06-30-2003, 09:57 AM
if the email adress is correct it should
<FORM METHOD="POST" ACTION="mailto:aul_gajewicz@yahoo.com" enctype="text/plain">

enctype="text/plain" is required to make some sense out of the email data

lakehook
06-30-2003, 11:03 PM
Thanks I will give that a try.

lakehook
07-01-2003, 07:14 AM
http://www.htmlcodetutorial.com/forms/index_famsupp_8.html

A common question is if a form can be created that sends its results to an email address instead of to a CGI. The short answer is "No". Some browsers do support this idea, but the results are URL-encoded and so are diffcult to read. Many browsers don't support mail forms at all.
The best way to have form results emailed to you is to use a CGI. There are many free "form-mailer" CGI programs available. There's a good chance your web server already has a form-mailer CGI ready to use -- many web service providers include this as a freebie for their client. Check with your web administrator.