"Masterlist" in javascript
I just got my fingers on javascript and my first step was to create my own form by adapting the example file in this tutorial:
https://acrobatusers.com/tutorials/js_list_combo_livecycle/index.html#
In the example the masterlist contains three information: assembly, parts and price.
The partslist in the second dropdown depends on the assembly selection in a first dropdown. The Price shown depends on the selection in the second dropdown.
What I'm struggling with is that I need a fourth information, lets call it "color", in the masterlist.
How do I have to extend the masterlist or is the idea tottaly wrong? Just adding the additional infromation in brackets obviously doesn't work at all.
example from the tutorial:
var oAssemblyParts = { Chasis: [ ["-","None"],["Rear Bracket",205.95],
A hint in which direction to work would be great. Thank you all.
