Web controls validation
First Claim
1. A computer program product encoding a computer program for executing on a computer system a computer process for validating input data received through at least one client-side input control element in a Web page, each client-side input control element being associated with a server-side input control object declared in a server-side resource, the computer process comprising:
- detecting a validator declaration in the server-side resource, the validator declaration being associated with a server-side input control object;
generating a server-side validation object having a validation criterion, responsive to the detecting operation; and
evaluating at least a portion of the input data to determine whether the portion of the input data satisfies the validation criterion, the portion of the input data being received through the client-side input control element associated with the server-side input control object;
wherein the validation criterion defines a required field of the server-side input control object, and wherein the portion of the input data is required to populate the required field to be valid.
2 Assignments
0 Petitions
Accused Products
Abstract
Web control validation may be defined using one or more declarations that are included in an ASP+ file by the web page author. The declarations specify server-side objects that validate the input data received in the web page and provide error handling in the event of a validation failure error. Validation declaration parameters specify the validation criteria against which the input data is validated. Example validation operations involve regular expressions, required fields, data comparison, range comparison and custom validation. Validation parameters can also specify- either server-side validation or client-side validation, depending on the client browser'"'"'s capabilities. In a server-side scenario, a server-side validation object processes the input data received in an HTTP request from the client. In a client-side scenario, a server-side validation object renders the appropriate client-side code to validate the input data without a round trip between the client and the server.
-
Citations
21 Claims
-
1. A computer program product encoding a computer program for executing on a computer system a computer process for validating input data received through at least one client-side input control element in a Web page, each client-side input control element being associated with a server-side input control object declared in a server-side resource, the computer process comprising:
-
detecting a validator declaration in the server-side resource, the validator declaration being associated with a server-side input control object;
generating a server-side validation object having a validation criterion, responsive to the detecting operation; and
evaluating at least a portion of the input data to determine whether the portion of the input data satisfies the validation criterion, the portion of the input data being received through the client-side input control element associated with the server-side input control object;
wherein the validation criterion defines a required field of the server-side input control object, and wherein the portion of the input data is required to populate the required field to be valid. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 21)
-
-
14. A computer program product encoding a computer program for executing on a computer system a computer process for validating input data received through at least one client-side input control element in a Web page, each client-side input control element being associated with a server-side input control object declared in a server-side resource, wherein the server-side resource is stored on a server computer system, and the computer process comprising:
-
detecting a validator declaration in the server-side resource, the validator declaration being associated with a server-side input control object;
generating a server-side validation object having a validation criterion, responsive to the detecting operation;
evaluating at least a portion of the input data to determine whether the portion of the input data satisfies the validation criterion, the portion of the input data being received through the client-side input control element associated with the server-side input control object; and
rendering client-side validation code associated with the client-side input control element, the client-side validation code being adapted to execute on a client computer system and to determine whether the portion of the input data satisfies the validation criterion before the portion of the input data is transmitted from the client computer system to the server computer system. - View Dependent Claims (15, 16, 17, 18)
-
-
19. A method of validating input data received through at least one client-side input control element in a Web page, each client-side input control element being associated with a server-side input control object declared in a server-side resource, the method comprising:
-
detecting a validator declaration in the server-side resource, the validator declaration being associated with a server-side input control object;
generating a server-side validation object having a validation criterion, responsive to the detecting operation;
evaluating at least a portion of the input data to determine whether the portion of the input data satisfies the validation criterion, the portion of the input data being received through the client-side input control element associated with the server-side input control object; and
rendering client-side validation code associated with the client-side input control element, the client-side validation code being adapted to execute on a client computer system and to determine whether the portion of the input data satisfies the validation criterion before the portion of the input data is transmitted from the client computer system to the server computer system. - View Dependent Claims (20)
-
Specification