Originally Posted by Philip M
document.orders is undefined because you have assigned the id orders to your form, not the name orders.
A form field is addressed as document.formname.elementname.value; or
There is not much point in assigning ids to form fields as only fields with a name can be passed to the server when the form is submitted.
Screen shots are of little use if you want us to run your code to diagnose errors. Post the actual (relevant) code (within code tags, please).
In the HTML that was provided for me, the name and id are there, *scratching head in puzzlement*
<input name="price1" id="price1" size="8" value="19.95"
tabindex="-1" readonly="readonly" />