The conditions of my form are not working correctly.