摘要 |
The present invention provides a way to validate data entry at both the client and the server with minimal engineering effort. The system allows the specification of data validation rules for a form on a server. The system provides a version of the rules with the form to the client computer. The system also executes the rules on the server for further validation. The system may translate the rules into JavaScript data structures, passed as the version to the client for client-side validation. Because the rules for the form are specific only once, there is no possibility of the rules becoming out of sync betwen the form on the client and on the server.
|