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.
I need a script to populate a drop down list of material numbers from a table at backend r/3 system & a script to populate two other fields based on one selection of the drop down list.
Could you please provide a detailed description of the same? Or send the xdp format of your attached pdf file?