Avatar

Level 1

Hello All,

I was going to remove this post because I solved the problem myself. However I thought I might leave it up as an example of how one little out of place comma can stop your whole script from running. And because I thought someone might need to see how the Adobe sample dynamic interactive purchase order form partNoScript (listed in the variable section) can be edited by adding a variable and an array to the script and editing the txtPartNum field change event getDesc line to include the new variable.

If you look at the attached form in the partNoScript the last quantity listed in the “var partQty new array” has an extra comma before the final close paren. If you remove this last comma the script runs.

Thanks to anyone that was trying to work this out. Maybe this will help someone looking to edit that script or build a different script with multiple fields being auto populated based on a drop down box selection.

Trish