I am trying to code a takeoff performance calculator tool. The user needs to select the type of engine installed on the aircraft (IAE or CFM in this case) so that the app can run the code with the appropriate max thrust. I have therefore set up the app to do the following:
However, this yields the following result:
which means that now only "IAE" has an ItemData value, which is "1,2". I thought I could put a temporary fix to this by having the user input "1" from the dropdown menu as the IAE engine type and "2" as the CFM engine type, then figure out later what is going on. However, I quickly noticed that in this line of code here, the "If" condition is never met, because further down the code, "Thrust" simply cannot be found. What am I doing wrong?