convert text input to upper case