Basic Calculations in a Form

M

Max

Hi All -

New to this whole Form Programming, so bear with me. I have a form that I
wish to have users select quantities of various items, that are at a set
price. When the user is finished, and hits "Submit" a confirmation page
comes up, tells them what they ordered, and the price. Attached is the code:

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>The RSVP Form</title>

<STYLE TYPE="text/css">


</STYLE>

</head>

<body stylesrc="2003home.htm">

<div align="center">
<center>

<table border="1" width="609">
<tr>
<td width="599">
<p align="center"><font size="6" face="Arial">The 5th
Annual Wet College Radio ClamBake O<b>'</b>
Wonder RSVP Form</font></td>
</tr>
</table>
</center>
</div>
<form method="POST" name="FrontPage_Form1" action="--WEBBOT-SELF--"
onSubmit="return FrontPage_Form1_Validator(this)">
<!--webbot bot="SaveResults" startspan U-File="_private/form_results.txt"
S-Format="TEXT/CSV" S-Label-Fields="TRUE" B-Reverse-Chronology="FALSE"
S-Email-Format="TEXT/PRE" S-Email-Address="(e-mail address removed)"
B-Email-Label-Fields="TRUE" B-Email-Subject-From-Field="FALSE"
S-Email-Subject="Reservations" S-Date-Format="%m/%d/%Y"
S-Time-Format="%I:%M:%S %p" S-Builtin-Fields="Date Time"
U-Confirmation-Url="confirmednew.htm" --><strong>[FrontPage Save Results
Component]</strong><!--webbot
bot="SaveResults" endspan -->
<div align="center">
<table border="0" width="745">
<tr>
<td width="147">
<p align="right"><font face="Arial" size="4"><u><b>Step
One:</b></u> </font></td>
<center>
<td width="582"><font size="4" face="Arial">Are you coming? Let us
know,
and please put your name (and the name of those you're bringing), a
valid eMail address and phone number so we can confirm your
reservation!</font></td>
</tr>
<tr>
<td width="729" colspan="2">
<div align="center">
<table border="1" width="353">
<tr>
<td width="171" align="center"><font size="4"
face="Arial"><input type="radio" value="Yes" checked name="YesNo">YES!
I will be attending the ClamBake</font></td>
<td width="166" align="center"><font size="4"
face="Arial"><input type="radio" name="YesNo" value="No">NO!
I regret that I will not be attending the
ClamBake</font></td>
</tr>
<tr>
<td width="171" align="center"><font size="4"
face="Arial">Name:</font></td>
<td width="166" align="center"><font face="Arial"
size="4"><!--webbot
bot="Validation" B-Value-Required="TRUE" --><input
type="text" name="Name" size="20"></font></td>
</tr>
<tr>
<td width="171" align="center"><font size="4"
face="Arial">Name
of Guest(s):</font></td>
<td width="166" align="center"><font face="Arial"
size="4"><input type="text" name="Guest" size="20" value="nobody"></font></td>
</tr>
<tr>
<td width="171" align="center"><font size="4"
face="Arial">eMail
Address:</font></td>
<td width="166" align="center"><font face="Arial"
size="4"><!--webbot
bot="Validation" B-Value-Required="TRUE" --><input
type="text" name="eMail" size="20"></font></td>
</tr>
<tr>
<td width="171" align="center"><font size="4"
face="Arial">Phone:</font></td>
<td width="166" align="center"><font face="Arial"
size="4"><input type="text" name="Phone" size="20"></font></td>
</tr>
</table>
</div>
</td>
</tr>
</center>
<tr>
<td width="147">
<p align="right"><b><u><font size="4" face="Arial">Step
Two:</font></u></b></td>
<center>
<td width="582"><font size="4" face="Arial">How many dinners are you
ordering? (This is important... We don't want to run out of
food!)</font></td>
</tr>
<tr>
<td width="729" colspan="2">
<div align="center">
<table border="1" width="451">
<tr>
<td align="center" width="221"><font size="4"
face="Arial"><select size="1" name="ClamsChicken">
<option selected>0</option>
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select>Clams and Chicken Dinner(s) ($17
each)</font></td>
<td align="center" width="214"><font size="4"
face="Arial"><select size="1" name="SteakChicken">
<option selected>0</option>
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select>Steak and Chicken Dinner(s) ($17
each)</font></td>
</tr>
<tr>
<td colspan="2" align="center" width="441"><font size="4"
face="Arial"><select size="1" name="Chicken">
<option selected>0</option>
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select>Chicken Only Dinner(s) ($12 each)</font></td>
</tr>
</table>
</div>
</td>
</tr>
</center>
<tr>
<td width="147">
<p align="right"><b><u><font size="4" face="Arial">Step
Three:</font></u></b></td>
<center>
<td width="582"><font face="Arial" size="4">How many extra orders of
clams would you like?</font></td>
</tr>
<tr>
<td width="729" colspan="2">
<div align="center">
<table border="1">
<tr>
<td><font face="Arial" size="4"><select size="1"
name="Clams">
<option selected>0</option>
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
<option>6</option>
</select>Dozen extra clams ($6 a doz.)</font></td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td width="147">
<p align="right"><b><u><font size="4" face="Arial">Step
Four:</font></u></b></td>
<td width="582"><font face="Arial" size="4">Use the buttons below to
either SUBMIT or RESET your RSVP. Conformation will be sent
via e-mail within a few hours!</font></td>
</tr>
</table>
</center>
</div>
<p align="center"><input type="submit" value="Submit" name="B1"><input
type="reset" value="Reset" name="B2"></p>
</form>
<p align="center"><img border="0" src="monkey_dance.gif" width="114"
height="125"></p>
<p align="center"><font face="Arial" size="4">Pogo Says: Make sure you
include a
valid eMail Address!</font></p>

</body>

</html>

Is there an easy way to do this?
 
S

Stefan B Rusynko

First of all assign Values to all your form field options or nothing will work, as in
<option selected value="0">0</option>
<option value="1">1</option>
and so on (right click form field properties and modify them to add values same as your choice )

Then use Javascript events to calculate the subtotals and grand total using hidden form fields and onclick events

1) Add an onclick event to each of your menu choice options by
Changing each of the <select size="1" name="YourFieldNameHere"> to:

<select size="1" name="ClamsChicken" onclick="this.form.ClamsChickenAmt.value = (this.form.ClamsChicken.value - 0) * 17">

<select size="1" name="SteakChicken" onclick="this.form.SteakChickenAmt.value = (this.form.SteakChicken.value - 0) * 17">

<select size="1" name="Chicken" onclick="this.form.ChickenAmt.value = (this.form.Chicken.value - 0) * 12">

<select size="1" name="Clams" onclick="this.form.ClamsAmt.value = (this.form.Clams.value - 0) * 6">

2) Add the following hidden form fields just before the Submit button (using the same form field names) :

<input type="hidden" name="ClamsChickenAmt" value="0">
<input type="hidden" name="SteakChickenAmt" value="0">
<input type="hidden" name="ChickenAmt" value="0">
<input type="hidden" name="ClamsAmt" value="0">
<input type="hidden" name="TotalAmt" value="0">

3) Finally modify the Submit button to add an onclick event for the grand total event (below is all on 1 line)

<input type="submit" value="Submit" onclick="this.form.TotalAmt.value = (this.form.ClamsAmt.value - 0) +
(this.form.ChickenAmt.value - 0) + (this.form.SteakChickenAmt.value - 0) + (this.form.ClamsChickenAmt.value - 0)">

Create a custom confirmation page and use the above field names to display the values




| Hi All -
|
| New to this whole Form Programming, so bear with me. I have a form that I
| wish to have users select quantities of various items, that are at a set
| price. When the user is finished, and hits "Submit" a confirmation page
| comes up, tells them what they ordered, and the price. Attached is the code:
|
| <html>
|
| <head>
| <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
| <meta name="GENERATOR" content="Microsoft FrontPage 4.0">
| <meta name="ProgId" content="FrontPage.Editor.Document">
| <title>The RSVP Form</title>
|
| <STYLE TYPE="text/css">
|
|
| </STYLE>
|
| </head>
|
| <body stylesrc="2003home.htm">
|
| <div align="center">
| <center>
|
| <table border="1" width="609">
| <tr>
| <td width="599">
| <p align="center"><font size="6" face="Arial">The 5th
| Annual Wet College Radio ClamBake O<b>'</b>
| Wonder RSVP Form</font></td>
| </tr>
| </table>
| </center>
| </div>
| <form method="POST" name="FrontPage_Form1" action="--WEBBOT-SELF--"
| onSubmit="return FrontPage_Form1_Validator(this)">
| <!--webbot bot="SaveResults" startspan U-File="_private/form_results.txt"
| S-Format="TEXT/CSV" S-Label-Fields="TRUE" B-Reverse-Chronology="FALSE"
| S-Email-Format="TEXT/PRE" S-Email-Address="(e-mail address removed)"
| B-Email-Label-Fields="TRUE" B-Email-Subject-From-Field="FALSE"
| S-Email-Subject="Reservations" S-Date-Format="%m/%d/%Y"
| S-Time-Format="%I:%M:%S %p" S-Builtin-Fields="Date Time"
| U-Confirmation-Url="confirmednew.htm" --><strong>[FrontPage Save Results
| Component]</strong><!--webbot
| bot="SaveResults" endspan -->
| <div align="center">
| <table border="0" width="745">
| <tr>
| <td width="147">
| <p align="right"><font face="Arial" size="4"><u><b>Step
| One:</b></u> </font></td>
| <center>
| <td width="582"><font size="4" face="Arial">Are you coming? Let us
| know,
| and please put your name (and the name of those you're bringing), a
| valid eMail address and phone number so we can confirm your
| reservation!</font></td>
| </tr>
| <tr>
| <td width="729" colspan="2">
| <div align="center">
| <table border="1" width="353">
| <tr>
| <td width="171" align="center"><font size="4"
| face="Arial"><input type="radio" value="Yes" checked name="YesNo">YES!
| I will be attending the ClamBake</font></td>
| <td width="166" align="center"><font size="4"
| face="Arial"><input type="radio" name="YesNo" value="No">NO!
| I regret that I will not be attending the
| ClamBake</font></td>
| </tr>
| <tr>
| <td width="171" align="center"><font size="4"
| face="Arial">Name:</font></td>
| <td width="166" align="center"><font face="Arial"
| size="4"><!--webbot
| bot="Validation" B-Value-Required="TRUE" --><input
| type="text" name="Name" size="20"></font></td>
| </tr>
| <tr>
| <td width="171" align="center"><font size="4"
| face="Arial">Name
| of Guest(s):</font></td>
| <td width="166" align="center"><font face="Arial"
| size="4"><input type="text" name="Guest" size="20" value="nobody"></font></td>
| </tr>
| <tr>
| <td width="171" align="center"><font size="4"
| face="Arial">eMail
| Address:</font></td>
| <td width="166" align="center"><font face="Arial"
| size="4"><!--webbot
| bot="Validation" B-Value-Required="TRUE" --><input
| type="text" name="eMail" size="20"></font></td>
| </tr>
| <tr>
| <td width="171" align="center"><font size="4"
| face="Arial">Phone:</font></td>
| <td width="166" align="center"><font face="Arial"
| size="4"><input type="text" name="Phone" size="20"></font></td>
| </tr>
| </table>
| </div>
| </td>
| </tr>
| </center>
| <tr>
| <td width="147">
| <p align="right"><b><u><font size="4" face="Arial">Step
| Two:</font></u></b></td>
| <center>
| <td width="582"><font size="4" face="Arial">How many dinners are you
| ordering? (This is important... We don't want to run out of
| food!)</font></td>
| </tr>
| <tr>
| <td width="729" colspan="2">
| <div align="center">
| <table border="1" width="451">
| <tr>
| <td align="center" width="221"><font size="4"
| face="Arial"><select size="1" name="ClamsChicken">
| <option selected>0</option>
| <option>1</option>
| <option>2</option>
| <option>3</option>
| <option>4</option>
| <option>5</option>
| </select>Clams and Chicken Dinner(s) ($17
| each)</font></td>
| <td align="center" width="214"><font size="4"
| face="Arial"><select size="1" name="SteakChicken">
| <option selected>0</option>
| <option>1</option>
| <option>2</option>
| <option>3</option>
| <option>4</option>
| <option>5</option>
| </select>Steak and Chicken Dinner(s) ($17
| each)</font></td>
| </tr>
| <tr>
| <td colspan="2" align="center" width="441"><font size="4"
| face="Arial"><select size="1" name="Chicken">
| <option selected>0</option>
| <option>1</option>
| <option>2</option>
| <option>3</option>
| <option>4</option>
| <option>5</option>
| </select>Chicken Only Dinner(s) ($12 each)</font></td>
| </tr>
| </table>
| </div>
| </td>
| </tr>
| </center>
| <tr>
| <td width="147">
| <p align="right"><b><u><font size="4" face="Arial">Step
| Three:</font></u></b></td>
| <center>
| <td width="582"><font face="Arial" size="4">How many extra orders of
| clams would you like?</font></td>
| </tr>
| <tr>
| <td width="729" colspan="2">
| <div align="center">
| <table border="1">
| <tr>
| <td><font face="Arial" size="4"><select size="1"
| name="Clams">
| <option selected>0</option>
| <option>1</option>
| <option>2</option>
| <option>3</option>
| <option>4</option>
| <option>5</option>
| <option>6</option>
| </select>Dozen extra clams ($6 a doz.)</font></td>
| </tr>
| </table>
| </div>
| </td>
| </tr>
| <tr>
| <td width="147">
| <p align="right"><b><u><font size="4" face="Arial">Step
| Four:</font></u></b></td>
| <td width="582"><font face="Arial" size="4">Use the buttons below to
| either SUBMIT or RESET your RSVP. Conformation will be sent
| via e-mail within a few hours!</font></td>
| </tr>
| </table>
| </center>
| </div>
| <p align="center"><input type="submit" value="Submit" name="B1"><input
| type="reset" value="Reset" name="B2"></p>
| </form>
| <p align="center"><img border="0" src="monkey_dance.gif" width="114"
| height="125"></p>
| <p align="center"><font face="Arial" size="4">Pogo Says: Make sure you
| include a
| valid eMail Address!</font></p>
|
| </body>
|
| </html>
|
| Is there an easy way to do this?
| --
| Thanks!
| Max
 
M

MD Websunlimited

Hi Max,

You may wish to take a look at form calc
http://www.websunlimited.com/order/Product/FormCalc/formcalc.htm

--
Mike -- FrontPage MVP '97 - '02
http://www.websunlimited.com
FrontPage Add-ins Summer Promotion -
FREE Purchase J-Bots Plus 2004 & receive Meta Tag Maker 2004 a $24.95 value FREE


Max said:
Hi All -

New to this whole Form Programming, so bear with me. I have a form that I
wish to have users select quantities of various items, that are at a set
price. When the user is finished, and hits "Submit" a confirmation page
comes up, tells them what they ordered, and the price. Attached is the code:

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>The RSVP Form</title>

<STYLE TYPE="text/css">


</STYLE>

</head>

<body stylesrc="2003home.htm">

<div align="center">
<center>

<table border="1" width="609">
<tr>
<td width="599">
<p align="center"><font size="6" face="Arial">The 5th
Annual Wet College Radio ClamBake O<b>'</b>
Wonder RSVP Form</font></td>
</tr>
</table>
</center>
</div>
<form method="POST" name="FrontPage_Form1" action="--WEBBOT-SELF--"
onSubmit="return FrontPage_Form1_Validator(this)">
<!--webbot bot="SaveResults" startspan U-File="_private/form_results.txt"
S-Format="TEXT/CSV" S-Label-Fields="TRUE" B-Reverse-Chronology="FALSE"
S-Email-Format="TEXT/PRE" S-Email-Address="(e-mail address removed)"
B-Email-Label-Fields="TRUE" B-Email-Subject-From-Field="FALSE"
S-Email-Subject="Reservations" S-Date-Format="%m/%d/%Y"
S-Time-Format="%I:%M:%S %p" S-Builtin-Fields="Date Time"
U-Confirmation-Url="confirmednew.htm" --><strong>[FrontPage Save Results
Component]</strong><!--webbot
bot="SaveResults" endspan -->
<div align="center">
<table border="0" width="745">
<tr>
<td width="147">
<p align="right"><font face="Arial" size="4"><u><b>Step
One:</b></u> </font></td>
<center>
<td width="582"><font size="4" face="Arial">Are you coming? Let us
know,
and please put your name (and the name of those you're bringing), a
valid eMail address and phone number so we can confirm your
reservation!</font></td>
</tr>
<tr>
<td width="729" colspan="2">
<div align="center">
<table border="1" width="353">
<tr>
<td width="171" align="center"><font size="4"
face="Arial"><input type="radio" value="Yes" checked name="YesNo">YES!
I will be attending the ClamBake</font></td>
<td width="166" align="center"><font size="4"
face="Arial"><input type="radio" name="YesNo" value="No">NO!
I regret that I will not be attending the
ClamBake</font></td>
</tr>
<tr>
<td width="171" align="center"><font size="4"
face="Arial">Name:</font></td>
<td width="166" align="center"><font face="Arial"
size="4"><!--webbot
bot="Validation" B-Value-Required="TRUE" --><input
type="text" name="Name" size="20"></font></td>
</tr>
<tr>
<td width="171" align="center"><font size="4"
face="Arial">Name
of Guest(s):</font></td>
<td width="166" align="center"><font face="Arial"
size="4"><input type="text" name="Guest" size="20" value="nobody"></font></td>
</tr>
<tr>
<td width="171" align="center"><font size="4"
face="Arial">eMail
Address:</font></td>
<td width="166" align="center"><font face="Arial"
size="4"><!--webbot
bot="Validation" B-Value-Required="TRUE" --><input
type="text" name="eMail" size="20"></font></td>
</tr>
<tr>
<td width="171" align="center"><font size="4"
face="Arial">Phone:</font></td>
<td width="166" align="center"><font face="Arial"
size="4"><input type="text" name="Phone" size="20"></font></td>
</tr>
</table>
</div>
</td>
</tr>
</center>
<tr>
<td width="147">
<p align="right"><b><u><font size="4" face="Arial">Step
Two:</font></u></b></td>
<center>
<td width="582"><font size="4" face="Arial">How many dinners are you
ordering? (This is important... We don't want to run out of
food!)</font></td>
</tr>
<tr>
<td width="729" colspan="2">
<div align="center">
<table border="1" width="451">
<tr>
<td align="center" width="221"><font size="4"
face="Arial"><select size="1" name="ClamsChicken">
<option selected>0</option>
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select>Clams and Chicken Dinner(s) ($17
each)</font></td>
<td align="center" width="214"><font size="4"
face="Arial"><select size="1" name="SteakChicken">
<option selected>0</option>
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select>Steak and Chicken Dinner(s) ($17
each)</font></td>
</tr>
<tr>
<td colspan="2" align="center" width="441"><font size="4"
face="Arial"><select size="1" name="Chicken">
<option selected>0</option>
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select>Chicken Only Dinner(s) ($12 each)</font></td>
</tr>
</table>
</div>
</td>
</tr>
</center>
<tr>
<td width="147">
<p align="right"><b><u><font size="4" face="Arial">Step
Three:</font></u></b></td>
<center>
<td width="582"><font face="Arial" size="4">How many extra orders of
clams would you like?</font></td>
</tr>
<tr>
<td width="729" colspan="2">
<div align="center">
<table border="1">
<tr>
<td><font face="Arial" size="4"><select size="1"
name="Clams">
<option selected>0</option>
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
<option>6</option>
</select>Dozen extra clams ($6 a doz.)</font></td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td width="147">
<p align="right"><b><u><font size="4" face="Arial">Step
Four:</font></u></b></td>
<td width="582"><font face="Arial" size="4">Use the buttons below to
either SUBMIT or RESET your RSVP. Conformation will be sent
via e-mail within a few hours!</font></td>
</tr>
</table>
</center>
</div>
<p align="center"><input type="submit" value="Submit" name="B1"><input
type="reset" value="Reset" name="B2"></p>
</form>
<p align="center"><img border="0" src="monkey_dance.gif" width="114"
height="125"></p>
<p align="center"><font face="Arial" size="4">Pogo Says: Make sure you
include a
valid eMail Address!</font></p>

</body>

</html>

Is there an easy way to do this?
 
M

Max

Stefan -

Thanks a million! Works like a charm!
--
Thanks!
Max


Stefan B Rusynko said:
First of all assign Values to all your form field options or nothing will work, as in
<option selected value="0">0</option>
<option value="1">1</option>
and so on (right click form field properties and modify them to add values same as your choice )

Then use Javascript events to calculate the subtotals and grand total using hidden form fields and onclick events

1) Add an onclick event to each of your menu choice options by
Changing each of the <select size="1" name="YourFieldNameHere"> to:

<select size="1" name="ClamsChicken" onclick="this.form.ClamsChickenAmt.value = (this.form.ClamsChicken.value - 0) * 17">

<select size="1" name="SteakChicken" onclick="this.form.SteakChickenAmt.value = (this.form.SteakChicken.value - 0) * 17">

<select size="1" name="Chicken" onclick="this.form.ChickenAmt.value = (this.form.Chicken.value - 0) * 12">

<select size="1" name="Clams" onclick="this.form.ClamsAmt.value = (this.form.Clams.value - 0) * 6">

2) Add the following hidden form fields just before the Submit button (using the same form field names) :

<input type="hidden" name="ClamsChickenAmt" value="0">
<input type="hidden" name="SteakChickenAmt" value="0">
<input type="hidden" name="ChickenAmt" value="0">
<input type="hidden" name="ClamsAmt" value="0">
<input type="hidden" name="TotalAmt" value="0">

3) Finally modify the Submit button to add an onclick event for the grand total event (below is all on 1 line)

<input type="submit" value="Submit" onclick="this.form.TotalAmt.value = (this.form.ClamsAmt.value - 0) +
(this.form.ChickenAmt.value - 0) + (this.form.SteakChickenAmt.value - 0) + (this.form.ClamsChickenAmt.value - 0)">

Create a custom confirmation page and use the above field names to display the values




| Hi All -
|
| New to this whole Form Programming, so bear with me. I have a form that I
| wish to have users select quantities of various items, that are at a set
| price. When the user is finished, and hits "Submit" a confirmation page
| comes up, tells them what they ordered, and the price. Attached is the code:
|
| <html>
|
| <head>
| <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
| <meta name="GENERATOR" content="Microsoft FrontPage 4.0">
| <meta name="ProgId" content="FrontPage.Editor.Document">
| <title>The RSVP Form</title>
|
| <STYLE TYPE="text/css">
|
|
| </STYLE>
|
| </head>
|
| <body stylesrc="2003home.htm">
|
| <div align="center">
| <center>
|
| <table border="1" width="609">
| <tr>
| <td width="599">
| <p align="center"><font size="6" face="Arial">The 5th
| Annual Wet College Radio ClamBake O<b>'</b>
| Wonder RSVP Form</font></td>
| </tr>
| </table>
| </center>
| </div>
| <form method="POST" name="FrontPage_Form1" action="--WEBBOT-SELF--"
| onSubmit="return FrontPage_Form1_Validator(this)">
| <!--webbot bot="SaveResults" startspan U-File="_private/form_results.txt"
| S-Format="TEXT/CSV" S-Label-Fields="TRUE" B-Reverse-Chronology="FALSE"
| S-Email-Format="TEXT/PRE" S-Email-Address="(e-mail address removed)"
| B-Email-Label-Fields="TRUE" B-Email-Subject-From-Field="FALSE"
| S-Email-Subject="Reservations" S-Date-Format="%m/%d/%Y"
| S-Time-Format="%I:%M:%S %p" S-Builtin-Fields="Date Time"
| U-Confirmation-Url="confirmednew.htm" --><strong>[FrontPage Save Results
| Component]</strong><!--webbot
| bot="SaveResults" endspan -->
| <div align="center">
| <table border="0" width="745">
| <tr>
| <td width="147">
| <p align="right"><font face="Arial" size="4"><u><b>Step
| One:</b></u> </font></td>
| <center>
| <td width="582"><font size="4" face="Arial">Are you coming? Let us
| know,
| and please put your name (and the name of those you're bringing), a
| valid eMail address and phone number so we can confirm your
| reservation!</font></td>
| </tr>
| <tr>
| <td width="729" colspan="2">
| <div align="center">
| <table border="1" width="353">
| <tr>
| <td width="171" align="center"><font size="4"
| face="Arial"><input type="radio" value="Yes" checked name="YesNo">YES!
| I will be attending the ClamBake</font></td>
| <td width="166" align="center"><font size="4"
| face="Arial"><input type="radio" name="YesNo" value="No">NO!
| I regret that I will not be attending the
| ClamBake</font></td>
| </tr>
| <tr>
| <td width="171" align="center"><font size="4"
| face="Arial">Name:</font></td>
| <td width="166" align="center"><font face="Arial"
| size="4"><!--webbot
| bot="Validation" B-Value-Required="TRUE" --><input
| type="text" name="Name" size="20"></font></td>
| </tr>
| <tr>
| <td width="171" align="center"><font size="4"
| face="Arial">Name
| of Guest(s):</font></td>
| <td width="166" align="center"><font face="Arial"
| size="4"><input type="text" name="Guest" size="20" value="nobody"></font></td>
| </tr>
| <tr>
| <td width="171" align="center"><font size="4"
| face="Arial">eMail
| Address:</font></td>
| <td width="166" align="center"><font face="Arial"
| size="4"><!--webbot
| bot="Validation" B-Value-Required="TRUE" --><input
| type="text" name="eMail" size="20"></font></td>
| </tr>
| <tr>
| <td width="171" align="center"><font size="4"
| face="Arial">Phone:</font></td>
| <td width="166" align="center"><font face="Arial"
| size="4"><input type="text" name="Phone" size="20"></font></td>
| </tr>
| </table>
| </div>
| </td>
| </tr>
| </center>
| <tr>
| <td width="147">
| <p align="right"><b><u><font size="4" face="Arial">Step
| Two:</font></u></b></td>
| <center>
| <td width="582"><font size="4" face="Arial">How many dinners are you
| ordering? (This is important... We don't want to run out of
| food!)</font></td>
| </tr>
| <tr>
| <td width="729" colspan="2">
| <div align="center">
| <table border="1" width="451">
| <tr>
| <td align="center" width="221"><font size="4"
| face="Arial"><select size="1" name="ClamsChicken">
| <option selected>0</option>
| <option>1</option>
| <option>2</option>
| <option>3</option>
| <option>4</option>
| <option>5</option>
| </select>Clams and Chicken Dinner(s) ($17
| each)</font></td>
| <td align="center" width="214"><font size="4"
| face="Arial"><select size="1" name="SteakChicken">
| <option selected>0</option>
| <option>1</option>
| <option>2</option>
| <option>3</option>
| <option>4</option>
| <option>5</option>
| </select>Steak and Chicken Dinner(s) ($17
| each)</font></td>
| </tr>
| <tr>
| <td colspan="2" align="center" width="441"><font size="4"
| face="Arial"><select size="1" name="Chicken">
| <option selected>0</option>
| <option>1</option>
| <option>2</option>
| <option>3</option>
| <option>4</option>
| <option>5</option>
| </select>Chicken Only Dinner(s) ($12 each)</font></td>
| </tr>
| </table>
| </div>
| </td>
| </tr>
| </center>
| <tr>
| <td width="147">
| <p align="right"><b><u><font size="4" face="Arial">Step
| Three:</font></u></b></td>
| <center>
| <td width="582"><font face="Arial" size="4">How many extra orders of
| clams would you like?</font></td>
| </tr>
| <tr>
| <td width="729" colspan="2">
| <div align="center">
| <table border="1">
| <tr>
| <td><font face="Arial" size="4"><select size="1"
| name="Clams">
| <option selected>0</option>
| <option>1</option>
| <option>2</option>
| <option>3</option>
| <option>4</option>
| <option>5</option>
| <option>6</option>
| </select>Dozen extra clams ($6 a doz.)</font></td>
| </tr>
| </table>
| </div>
| </td>
| </tr>
| <tr>
| <td width="147">
| <p align="right"><b><u><font size="4" face="Arial">Step
| Four:</font></u></b></td>
| <td width="582"><font face="Arial" size="4">Use the buttons below to
| either SUBMIT or RESET your RSVP. Conformation will be sent
| via e-mail within a few hours!</font></td>
| </tr>
| </table>
| </center>
| </div>
| <p align="center"><input type="submit" value="Submit" name="B1"><input
| type="reset" value="Reset" name="B2"></p>
| </form>
| <p align="center"><img border="0" src="monkey_dance.gif" width="114"
| height="125"></p>
| <p align="center"><font face="Arial" size="4">Pogo Says: Make sure you
| include a
| valid eMail Address!</font></p>
|
| </body>
|
| </html>
|
| Is there an easy way to do this?
| --
| Thanks!
| Max
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top