Avatar

Correct answer by
Level 7

Yes. Put the descriptions in the drop down menu and then specify values in the binding tab. In the exit event for the drop down menu put the code (in formcalc):

if ($.rawValue == 1) then

    $.formattedValue = "109323" // put whatever the part number is in here

elseif ($.rawValue == 2) then

    $.formattedValue = "109324" // etc

endif

the rawValue is the value of the option the person has chosen in the menu and the formattedValue is what the box will show once the exit event has executed.

View solution in original post