Create a method that returns the inputTextField text