GUI checks whether the text within the fields have numeric format or not.