/    Sign up×
Community /Pin to ProfileBookmark

Forms in a framed page

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:[email protected]“>
<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>

[upl-file uuid=696c697e-69d8-4198-8387-5a97ee614fd6 size=2kB]career_test1.txt[/upl-file]

to post a comment
HTML

3 Comments(s)

Copy linkTweet thisAlerts:
@Khalid_AliJun 30.2003 — if the email adress is correct it should

<FORM METHOD="POST" ACTION="mailto&#058;[email protected]" enctype="text/plain">

enctype="text/plain" is required to make some sense out of the email data
Copy linkTweet thisAlerts:
@lakehookauthorJul 01.2003 — Thanks I will give that a try.
Copy linkTweet thisAlerts:
@lakehookauthorJul 01.2003 — 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.
×

Success!

Help @lakehook spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 4.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...