473,403 Members | 2,270 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

posting a form to email

I've created a simple form for a conf registration, that successfully
validates the form. But then in testing, when you try to submit,
Outlook Express comes up automatically, instead of my own email. And
the content of the form doesn't appear in the body of that Outlook
Express email, either. How do I make it use the correct email? I'm a
newbie, and no one here in my office knows forms but me!

Here's part of the validating (to shorten for ya), and the beginning
of the form. What am I missing? What can I do to solve this problem?

function checkState() {
var complete = true
var state = document.request.state.value;
if ((state == "") || (state == null)) {
alert("Please enter your State.");
document.request.state.focus();
document.request.state.select();
complete = false;
}

function validateForm() {
var validForm=true;
validForm = checkFirstname() && checkLastname() && checkTitle() &&
checkDept() && checkCampus() && checkAddr() && checkCity() &&
checkState() && checkZip() && checkPhone() && checkEmail();
if (validForm){
window.status="The form is valid";
}
return validForm;
}

</script>
</head>

<body bgcolor="#FFFFFF" text="#000000" link="#0000FF">
<h2 align="center">Plan 2008:Educational Quality Through Racial and
Ethnic Diversity</h2><br>
<h2 align = "center">Team Member Registration Form</h2>
<h3 align="left"> "Best Practices in Closing the Achievement
Gap"</h3>

<form name="request" method="post" action="mailto: lr***@uwsa.edu"
enctype="multipart/form-data" onSubmit=" return validateForm()">
<table border="0" cellspacing="0" cellpadding="5" align="left">
<tr>
<td>First Name</td>
<td>
<input type="text" name="firstname" size="25" maxlength="25"
onFocus =" window.status = 'Enter Last Name'; return true;">
</td>
<td width="10">&nbsp;</td>
<td>Last Name</td>
<td>
<input type="text" name="lastname" size="25" maxlength="25"
onFocus =" window.status = 'Enter First Name'; return true;">
</td>
</tr>
Jul 23 '05 #1
1 1442
In article <89**************************@posting.google.com >, Linda
says...
I've created a simple form for a conf registration, that successfully
validates the form. But then in testing, when you try to submit,
Outlook Express comes up automatically, instead of my own email. <form name="request" method="post" action="mailto: lr***@uwsa.edu"


Use a server-side form processor. "mailto:" as a form action doesn't
work. It's bag of pants.

--
Hywel

http://sponsorhywel.org.uk/
Jul 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Jochen Daum | last post by:
Hi ! If I have an input field <form ... method="post"> <input type="text" name="abc def"> </form>
2
by: JJ | last post by:
Hi, I have a web page, where users fill out their name and address, and I send them a free catalog. The problem is that someone is filling my form out about 100 times a day throughout the day...
10
by: DaveFash | last post by:
Posting variables from an HTML FORM, via the Request.Form function on the receiving ASP page is great. But how can you POST a Form variable to an ASP page -- without a human pushing a Submit...
2
by: Jeff Baker | last post by:
How does one post to an ASPX page using the WebClient when the form name is required?
2
by: Esa | last post by:
Hi, I'm having problems with one strange web system where submitting an application and making queries about its handling status require a series of form submits and response parsing - all in...
6
by: Steve JORDI | last post by:
Hi, is there a way to read the content of a form variable before a POST? I have a form with a "duplicate" button which opens a new form with most of the fields filled with the values of the...
3
by: scripteaze | last post by:
posting to a form with no form name or it's just that i cant find the form name. can anyone explain how to either post to a form with no name or, find the name of the form..here my current output,...
1
by: =?Utf-8?B?RGFu?= | last post by:
I am posting data to a form using the code below (from a console app). My problem is that I'm posting my data as a generic request stream, and the page is expecting the data to have come from a...
5
Thekid
by: Thekid | last post by:
Hi, I'm using xampplite and I'm trying to make a guestbook and a forms page where you can post to the guestbook with PHP & MySQL. I got the code from a website but it wasn't working so I tinkered...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.