I'm using LiveCycle Design from within Pro Version 8.
I don't know if I'm understanding you questions correctly or not but, when I click on the Qty box while in Design View, my tool bar (right above the form) has "Validate*" showing (I don't know why it would have an * out from validate). This is the only way I could apply your script. Language reads "JavaScript" and Run At reads "Client".
This problem only occurred when I applied your script and the error message is related.
I reviewed the Field/Value/Binding tabs. Field Tab looks ok, the Type is Numeric Field, as it should be. The Display Pattern looks correct (zzz9)
Under the Value Tab, the Display Pattern has empty, I selected zzz9 as the pattern. Also, I noticed a check mark in a box reading "Validation Script Message". I unchecked this.
Under the Binding Tab, the Data Pattern was already blank. I went ahead and put in the same Date Pattern as shown in the Value/Field Tabs.
I'm still receiving the same error message.
When I open my form, I put in a value like 5. When I Tab/Click into another filed the Error Message Pops Up.
There was one other thing I did notice however. When I put in a value in the Qty box and I Tab/Click out of it, it will not let me back in the change the value. I have to close the form and reopen it in order to change the value. I'll have to fix this as well.
Would it help if I where to emailed you my doc in you take a look at?