Sir,
I want to make one form that will enable my user to quote his order and after that he will click the " Order Now" button so that I get all the infomation in my email . I am very new in Javascript language. Can anybody solve this. I apend below two script so that anyone can modify it as per my requirements. May be it is totally wrong. Any suitable tutorials in this regard is highly appreciable.
Thnks in advance.
trnghosh
Here is the two scripts.
(1) The order form
[HTML]<form name=orderform action="confirm-order.html">
<font face=Arial size=2>
<input type="checkbox" name="Do you want 5 pages?" value=150 onclick="this.f orm.total.value =CheckChoice(th is);">
Do you want 5 pages? <br>
<input type="checkbox" name="Do you want 10 pages?" value=250 onclick="this.f orm.total.value =CheckChoice(th is);">
Do you want 10 pages? <br>
<input type="checkbox" name=" Do you want ecommerce?" value=100 onclick="this.f orm.total.value =CheckChoice(th is);">
Do you want ecommerce?
<br>
<input type="checkbox" name=" Do you want a logo?" value=30 onclick="this.f orm.total.value =CheckChoice(th is);">
Do you want a logo?
<br>
<input type="hidden" name="hiddentot al" value=0>
<input type="hidden" name="hiddenpri orradio" value=0>
<font size=+1>
Your total is: <input type="text" name="total" readonly onFocus="this.b lur();">
<br />
<tr>
<td> <input name="submit" type=submit value="Order Now " /></td>
</tr>
</form>
[/HTML]
(2) Confirm order page script.
[HTML]
<form method=get action="http://cgi.freedback.c om/mail.pl"
name="emailform ">
<!-- Don't forget to change this to your email address! -->
<input type=hidden name=to
value="trnghosh @yahoo.co.in">
<input type=hidden name=subject value="** Order Form **">
<center>
<script language="JavaS cript">
<!-- Begin
decodeString();
// End -->
</script>
</center>
</form>[/HTML]
I want to make one form that will enable my user to quote his order and after that he will click the " Order Now" button so that I get all the infomation in my email . I am very new in Javascript language. Can anybody solve this. I apend below two script so that anyone can modify it as per my requirements. May be it is totally wrong. Any suitable tutorials in this regard is highly appreciable.
Thnks in advance.
trnghosh
Here is the two scripts.
(1) The order form
[HTML]<form name=orderform action="confirm-order.html">
<font face=Arial size=2>
<input type="checkbox" name="Do you want 5 pages?" value=150 onclick="this.f orm.total.value =CheckChoice(th is);">
Do you want 5 pages? <br>
<input type="checkbox" name="Do you want 10 pages?" value=250 onclick="this.f orm.total.value =CheckChoice(th is);">
Do you want 10 pages? <br>
<input type="checkbox" name=" Do you want ecommerce?" value=100 onclick="this.f orm.total.value =CheckChoice(th is);">
Do you want ecommerce?
<br>
<input type="checkbox" name=" Do you want a logo?" value=30 onclick="this.f orm.total.value =CheckChoice(th is);">
Do you want a logo?
<br>
<input type="hidden" name="hiddentot al" value=0>
<input type="hidden" name="hiddenpri orradio" value=0>
<font size=+1>
Your total is: <input type="text" name="total" readonly onFocus="this.b lur();">
<br />
<tr>
<td> <input name="submit" type=submit value="Order Now " /></td>
</tr>
</form>
[/HTML]
(2) Confirm order page script.
[HTML]
<form method=get action="http://cgi.freedback.c om/mail.pl"
name="emailform ">
<!-- Don't forget to change this to your email address! -->
<input type=hidden name=to
value="trnghosh @yahoo.co.in">
<input type=hidden name=subject value="** Order Form **">
<center>
<script language="JavaS cript">
<!-- Begin
decodeString();
// End -->
</script>
</center>
</form>[/HTML]
Comment