Thanks for the Reply. The recommendations worked, however, there was a text box outside the "Form" and that was causing the problem.
Sent by FoxWeb Support on 07/26/2005 11:31:54 AM:
Your HTML code has a problem in that the field name is not enclosed in quotes. Most browsers will work fine with this, as long as the name does not contain spaces, but you should always use correct HTML. A second problem appears to be that you are missing some delimiters:
<%cStr = ltrim(str(nCount))%>
<td ><input type="text" size = "10" name="Qty<%=cStr%>" OnBlur="UpdateTotal(this,<%="Price"+cStr%>,<%="SubTotal"+cStr%>)"></td>
Sent by Ali Koumaiha on 07/26/2005 08:02:54 AM:
I have a form called OrderForm, which contains text boxes that are created dynamically thru scan/endscan
in the code of fwx, i have:
some codes here to display content in a table
cStr = ltrim(str(nCount))
<td ><input type="text" size = "10" name=Qty<%=cStr%> OnBlur="UpdateTotal(this,<%="Price"+cStr%>,<%="SubTotal"+cStr%>)"></td>
alert(document.OrderForm.Qty1.value); <-- error in this code
however, if I have this in normal html page, it works, in fwx, it generate an error saying that document.OrderForm.Qty1 is null or not an object.