Automatic generation of forms with input validation
First Claim
Patent Images
1. One or more computer-readable media comprising computer-executable instructions that, when executed, direct a processor to perform acts comprising:
- identifying a field on a form and one or more restrictions on an input to the field;
identifying validation code that, when executed, validates that the input conforms to the one or more restrictions; and
adding, to a form definition that includes the field, the identified validation code.
1 Assignment
0 Petitions
Accused Products
Abstract
An initial form definition includes one or more custom tags identifying the input field(s) for a form and restriction(s) on inputs to those field(s). An output form definition is generated based on the initial form definition, the output form definition including each of these one or more custom tags as converted to another tag format as well as the validation code corresponding to the indicated restriction(s) on input.
191 Citations
42 Claims
-
1. One or more computer-readable media comprising computer-executable instructions that, when executed, direct a processor to perform acts comprising:
-
identifying a field on a form and one or more restrictions on an input to the field;
identifying validation code that, when executed, validates that the input conforms to the one or more restrictions; and
adding, to a form definition that includes the field, the identified validation code. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A computerized method comprising:
-
identifying one or more custom tags to be included in a form definition, wherein each custom tag has one or more associated input restrictions; and
automatically generating the form definition by, converting each custom tag to another tag format, and adding, for each converted tag, a validation code that, when executed, verifies that an input corresponding to the tag satisfies the one or more input restrictions. - View Dependent Claims (8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A computerized method comprising:
-
identifying one or more desired fields to be included on a form via which data can be input; and
automatically adding validation code to source code of the form, wherein the validation code is based at least in part on the one or more desired fields and one or more desired input restrictions associated with the one or more desired fields. - View Dependent Claims (20, 21, 22)
-
-
23. A system comprising:
-
a form analyzer configured to identify one or more custom tags associated with a form; and
a tag replacement module, coupled to the form analyzer, configured to replace each of the one or more custom tags with another tag, and further to add, to a form definition, for each of the one or more custom tags, validation code to validate subsequent inputs to a field corresponding to the tag. - View Dependent Claims (24, 25, 26, 27, 28, 29, 30, 31)
-
-
32. A method comprising:
-
receiving a form definition including one or more custom tags, wherein each custom tag corresponds to a data input, and wherein each custom tag has one or more associated input restrictions; and
for each of the one or more custom tags, identifying a replacement non-custom tag, adding the identified replacement non-custom tag to a new form definition, identifying validation code that, when executed based on an input corresponding to the tag, validates whether the associated input restrictions are satisfied, and adding the identified validation code to the new form definition. - View Dependent Claims (33, 34, 35, 36, 37)
-
-
38. A data structure comprising:
-
a first portion identifying an input field for a form; and
a second portion identifying one or more restrictions on inputs to the input field, and further identifying validation code to be added to a page to enforce the one or more restrictions on inputs to the input field. - View Dependent Claims (39, 40, 41, 42)
-
Specification