In the inputs below I will enter yes or no.

based on this I want to display the risk column, in the initial content of my input

that is, if the weight is 5, display critical.

if it is 2, display High.

Did you understand?