Automatic formatting and validating of text for a markup language graphical user interface
First Claim
1. A method for automatically validating text input, the method comprising:
- an application processing a markup language file, wherein the markup language file comprises a description of a graphical user interface (GUI), wherein the markup language file comprises a markup language tag for instantiating a validation manager component, wherein the description of the GUI comprises a description of a GUI element enabled to receive text input;
the application instantiating the validation manager component in response to said processing the markup language file;
the application displaying the GUI on a display screen of a computer system in response to said processing the markup language file;
providing text input to the GUI element;
the validation manager component receiving a programmatic event in response to said providing text input to the GUI element;
the validation manager component determining whether the text input provided to the GUI element is valid text input in response to receiving the programmatic event;
the validation manager component indicating that the text input provided to the GUI element is invalid if the validation manager component determines that the text input is not valid.
3 Assignments
0 Petitions
Accused Products
Abstract
A system and method for automatically performing validation and/or formatting procedures for a graphical user interface (GUI) described in a markup language file are disclosed. The graphical user interface markup language description may comprise descriptions of various types of graphical user interface elements for which text is to be validated/formatted, such as form fields, tables, hypertext links, etc. An author of a markup language file may include various custom markup language attributes in order to automatically validate/format text for a GUI element, for example by adding a custom HSFORMAT=“usssn” attribute to a GUI element descripiton to indicate that the element should be automatically validated/formatted according to a U.S. social security number pattern. Any of various codes or patterns may be supported in a particular embodiment, and an extensible framework enabling support for new types of codes or patterns to be easily “plugged in” may be utilized, as described below.
The validation/formatting procedures may be managed by an executable component referred to as a “validation/formatting manager component”. The manager component may be automatically instantiated when the application parses the markup language file. The validation/formatting manager component is operable to perform validation/formatting for GUI elements, based on the custom markup language attributes. The manager component may determine these attributes by traversing a document object describing the markup language GUI elements and attributes.
The manager component interfaces with the application to receive programmatic events which trigger various types of formatting/validating operations to be performed on the GUI elements.
-
Citations
19 Claims
-
1. A method for automatically validating text input, the method comprising:
-
an application processing a markup language file, wherein the markup language file comprises a description of a graphical user interface (GUI), wherein the markup language file comprises a markup language tag for instantiating a validation manager component, wherein the description of the GUI comprises a description of a GUI element enabled to receive text input;
the application instantiating the validation manager component in response to said processing the markup language file;
the application displaying the GUI on a display screen of a computer system in response to said processing the markup language file;
providing text input to the GUI element;
the validation manager component receiving a programmatic event in response to said providing text input to the GUI element;
the validation manager component determining whether the text input provided to the GUI element is valid text input in response to receiving the programmatic event;
the validation manager component indicating that the text input provided to the GUI element is invalid if the validation manager component determines that the text input is not valid. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19)
-
Specification