[Solved] my multiple if statements is wrong not?

I would also recommend that you replace each control whose name starts with “input” with a more mnemonic name that actually describes what the control is for; it will make your code easier to read and maintain.