/    Sign up×
Community /Pin to ProfileBookmark

mailto submit problem

I’m trying to set up a form that when submitted the sender goes to a page that confirms the form was sent. I’m using the script below in the header and the problem is that the only part of the form that is sent to me is the box with the senders e-mail address. The sender is sent to the confirmation page as they should be. What is missing to have the entire form sent? Any help is appreciated.

<SCRIPT LANGUAGE=”JavaScript”>
<!–
function doit() {
document.moveme.submit();
document.location.href=”http://www.XXXXX.com“;
}
–>
</SCRIPT>
<FORM METHOD=”POST” enctype=”text/plain” ACTION=”mailto:[email protected]” NAME=”moveme” >
<INPUT TYPE=”text” NAME=”email” VALUE=”Please enter your e-mail.”>
<INPUT TYPE=”BUTTON” VALUE=”Go” onClick=”doit()”>
</FORM>

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@Khalid_AliSep 17.2003 — This is not appropriate way to do it.

The best option will be to use server side language.
Copy linkTweet thisAlerts:
@LindaQSep 17.2003 — I tried this endlessly with HTML and Java.

In the end, I picked up a PHP book, and found that this was a very easy language to learn, and it was very easy to create a form with a thank you/confirmation page.

Plus, the problem with the 'mailto' script, is that you are dependant on your Website Viewer to have an ISP based email program on their computer (ie: use Outlook Express with their ISP based connection, rather than Hotmail with a Web Based Email service). If they only have something like Hotmail on their computer, or they are browsing from an Internet Cafe, they cannot submit your form. I was surprised to see how many people went to my site with this same predicament.

I say, look at PHP, it will be your best bet, and you can learn it in a very short time from home.

Linda.
×

Success!

Help @buddybear 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 5.24,
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: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

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