Patent ID: 9514115
Filing Date: 2016-12-06
CPC Classification: G06F

Claim Text:
1. A method for creating a form validation program and a corresponding form interface according to result set metadata being applied to a web page editing system with a relational database comprising the steps of: step 1: creating a table in a relational database by a web developer and the table having at least one attribute data corresponding to a form field; the attribute data having a field/column name parameter, a field length parameter, a datatype parameter, a primary key parameter, a not null parameter, an unique parameter, a binary parameter, an unsigned parameter, a zero fill parameter, and an auto increment parameter; step 2: getting the attribute data by using result set metadata of the relational database and creating a web code file corresponding to the attribute data by a program accessible to the relational database; and step 3: generating a corresponding dynamic or static form interface and a form validation program at a web page editing system by the web code file; wherein the form interface includes at least one form field corresponding to the attribute data and presentation way of the form field is determined by at least one parameter of the attribute data correspondingly, and a length of the form field is automatically changed according to the field length parameter of the attribute data and the form field is a single-line text box or a multiple-line text area; a comment data correspondingly appears when the number of characters input into the form field is over the field length parameter.