I'm having trouble with some code I'm building a length converter that converts length from 5 text fields if the user enters a value in one text field for say millimeter, then meters, yards, feet and inches should be filled out when the convert button is clicked. I wrote 5 if statements that get text from the field if the field has text in it then it should execute the code. The problem is it doesn't follow these statements it just runs through all the if statements and tries to perform all the operations.