Order Form 2 | JavaScriptSource

Order Form 2

Paul DeBrino Apr 16, 2002
An order form which utilizes checkboxes and radio buttons for making a selection. The checkbox only allows one quantity of any item to be ordered, while the radio button only allows for one item within a defined group to be ordered. Script updates the order total as the visitor makes his/her selections, also note that the order total can not be manually altered by the visitor. Works in MSIE and Opera.
Steak $15.25 Chicken $12.39 Sushi $18.75

Prepare with this special sauce (extra charge -- only one selection allowed):
None, thanks  Duck Sauce $10.99 Ginger Sauce $5.00 Hot Sauce $1.50

Your total is: 

(Note: Total can not be changed by the visitor.)

The JavaScript Source: Forms: Order Form

Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Command-s). The script is yours!!!


Did you use this script?  Do you like this site?  Please link to us!

Leave a Response


Hello This script is exactly what I need. Unfortunately is working half of it. The addition of the first elements works fine but when I try to add any of the extras it turns the whole addition to zero. I would appreciate some help as is diffucult for me to find an error in the scrip. Thanks

dogo design Nov 12, 2014

I have pulled this script up in two different browsers on two different systems and the example does not show the total at all. Before I attempt this on a website can you explain why it does not work on your sample?

John Oct 25, 2012

this is best for work with forms

senthil Dec 9, 2008