Patent ID: 7519905
Filing Date: 2009-04-14
Classification: G06F

Abstract:
1. A method for automatically validating text that is input to a client computer, the method comprising: at the client computer, processing a markup language file to receive text input, said markup language file comprising a description of a graphical user interface (GUI), the description comprising a GUI element enabled to receive the text input and an attribute specifying a type associated with the GUI element, wherein the markup language file comprises a markup language tag for instantiating a validation manager at the client computer; in response to processing the markup language file at the client computer, instantiating the validation manager at the client computer and the validation manager instantiating a validation component corresponding to the type associated with the GUI element; in response to processing the markup language file, displaying the GUI on a display screen at the client computer; receiving text into the GUI element enabled to receive text; in response to receiving text into the GUI element, sending a programmatic event to the validation manager; in response to receiving the programmatic event at the validation manager, calling the validation component and specifying the text input to the GUI element; the validation component determining whether the received text is valid text input for the type associated with the GUI element and returning a result value to the validation manager indicating whether the text input received by the GUI element is a valid text input; and providing an indication that the received text is invalid if the received text is determined to be invalid.