Electronic form user interfaces
A system and method validating entry of data into a structured data file in real-time is described. The system and method also described a real-time validation tool that enables a developer to create custom validation rules. These custom validation rules can include preset validation rules, which the real-time validation tool enables a developer to create in an easy-to-use way.
1. A system comprising:
one or more processors; and
one or more computer-readable storage memories embodying computer-readable instructions which, when executed by the one or more processors, implement a validation tool configured to perform operations comprising:
presenting a user interface configured to:
enable selection of a node of a structured data file, the node being associated with a particular data-entry field of multiple data-entry fields in an electronic form;
receive selection of the node;
enable selection of a preset validation rule for the node;
receive selection of the preset validation rule; and
associating the preset validation rule with the node;
confirming data entered into each data-entry field of the multiple data-entry fields complies with an associated validation rule; and
storing data entered into each of the data-entry fields in the structured data file responsive to confirmation that the data entered into each respective data-entry field complies with the associated validation rule.
2. The system of claim 1 , wherein the user interface is further configured to: enable selection of information to be presented if the preset validation rule is violated; and
the validation tool being configured to associate the information with the node.
3. The system of claim 1 , wherein the user interface is further configured to:
enable selection of graphics to be presented if the preset validation rule is violated; and
the validation tool being configured to associate the graphics with the node.
4. The system of claim 1 , wherein the user interface is further configured to enable selection of the preset validation rule by presenting a list of validation rules.
5. The system of claim 1 , wherein the user interface is further configured to enable selection of the preset validation rule by presenting a list of validation rules, the list including a type of present validation rule requiring data to be within a certain range.
6. The system of claim 1 , wherein the user interface is further configured to enable selection of the preset validation rule by presenting a list of validation rules including a type of present validation rule requiring data to be numerical or textual.
7. The system of claim 1 , wherein the user interface is further configured to enable selection of the preset validation rule by presenting a list of validation rules including a type of present validation rule referencing another node in the data file.
8. The system of claim 1 , wherein the user interface is further configured to enable selection of the node by presenting an icon representing the node of the data file.
9. The system of claim 1 , wherein the user interface is further configured to enable selection of the node by presenting a data-entry field associated with the node of the data file.
10. One or more computer-readable storage memory devices embodying computer-readable instructions which, when executed, implement a system comprising:
a validation tool having a user interface configured to:
enable selection of a node of a structured data file, the node being associated with a particular data-entry field of multiple data entry fields in an electronic form;
receive selection of the node;
enable input of a validation rule for the node;
receive the validation rule; and
the validation tool being configured to associate the validation rule with the node, the receipt of a validation rule for each of the multiple data-entry fields causing each respective validation rule to be confirmed when data is entered into the data-entry field before the data is stored in the structured data file.
11. The one or more computer-readable storage memory devices of claim 10 , wherein the user interface is configured to enable selection of the node by presenting an icon representing the node of the data file.
12. The one or more computer-readable storage memory devices of claim 10 , wherein the user interface is configured to enable selection of the node by presenting a data-entry field associated with the node of the data file.
13. The one or more computer-readable storage memory devices of claim 10 , wherein the user interface is configured to enable input of the script-based validation rule by presenting a pre-constructed framework of script related to the node.
14. One or more computer-readable storage memory devices embodying instructions which, when executed, implement a user interface comprising:
an electronic form containing data-entry fields;
an interface to enable a developer to select a data-entry field associated with a node of a structured data file; and
a validation screen containing validation options for the selected data-entry field,
wherein the validation options enable selection of a preset validation rule and a script-based validation rule,
wherein the interface enables the developer to select both a preset validation rule and a script-based validation rule, the selection of a preset validation rule or a script-based validation rule causing each respective rule to be confirmed when data is entered into the data-entry field before the data is stored in the structured data file.
15. The one or more computer-readable storage memory devices of claim 14 , wherein the user interface further comprises: an event area to enable the developer to select when the script-based validation rule will be used to validate data by a real-time validation tool.
16. The one or more computer-readable storage memory devices of claim 14 , wherein the user interface further comprises: a script entry area to enable the developer to input the script-based validation rule.
17. The one or more computer-readable storage memory devices of claim 14 , wherein the validation options include a list of preset validation rules.
18. The one or more computer-readable storage memory devices of claim 17 , wherein the validation options include a validation field to enable the developer to input criteria for the selected preset validation rule.
19. The one or more computer-readable storage memory devices of claim 18 , wherein the user interface further comprises: an information alert option area including one or more fields to enable the developer to input alert information for the preset validation rule selected from the validation options.