>-----Original Message-----
>Hi,
Howdy.
>I would like to know if there is a way to group several
>form entries into forming the subject of the e-mail that
>is sent upon completion of the form?
Try this:
<form name="form1" method="POST">
<script>
function bldSubj(){
form1.subject.value = "Test #2 PHY 221" + " " +
form1.section.value + " " +
form1.stuname.value;
}
</script>
<p>Class Section:<br><input type="text" name="section"
size="20" onchange="bldSubj();"></p>
<p>Student Name:<br><input type="text" name="stuname"
size="20" onchange="bldSubj();"></p>
<p>Subject:<br><input type="text" name="subject"
size="50"></p>
<p><input type="submit" value="Submit"
name="btnSub"></p>
</form>
The onchange attributes on the section and stuname tags
cause the function bldSubj to run every time the visitor
updates those fields. The bldSubj function assembles the
subject line you want.
Once you get this working, you can change the subject tag
to a hidden form field, as in
<input type="hidden" name="subject">
Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*------------------------------------------------------*
|\----------------------------------------------------/|
|| Microsoft Office FrontPage 2003 Inside Out ||
|| Microsoft FrontPage Version 2002 Inside Out ||
|| Web Database Development Step by Step .NET Edition ||
|| Troubleshooting Microsoft FrontPage 2002 ||
|| Faster Smarter Beginning Programming ||
|| (All from Microsoft Press) ||
|/----------------------------------------------------\|
*------------------------------------------------------*