Adobe DC converting a Matrix to Javascript to return a certain result
I am a very basic user of Javascript and I think I am trying to do something way beyond my experience. I have a Risk Assessment Form and would like to have some information automatically returned when two different items are selected from two different dropdown boxes
From Dropdown1 someone selects the Likelihood that an event will occur (A, B, C, D, E) = rarely, unlikely, possible, likely, almost certain. Then from Dropdown2 selects the Consequences of the event happening (1,2,3,4,5) = Insignificant, Minor, Moderate, Major, Catastrophic.
Once the second item has been selected I would like a result to be automatically returned in a read only field called Rating:
E.g.: A + 1 = Very Low
And so on for all of the options as per the matrix below.
Am I correct in assuming that this can only be done using an array or arrays and if so how?
Any help you can give would be greatly appreciated.
