Form verification method and form verification system

A verification method and form technology, applied in the field of Internet applications, can solve the problems of verification forms, no classification or classification, poor user experience, etc., and achieve the effects of improving verification efficiency, saving manpower and material resources, and improving development efficiency

Inactive Publication Date: 2013-05-15
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF5 Cites 31 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 1. To expand the verification rules, the first thing is to realize the correct and reasonable classification of the rule types, but there are cases where there is no classification or unreasonable classification in the existing verification rules, resulting in some verification rules that cannot be classified into the verification rule types , so that it cannot be used to verify the form, resulting in the existing verification rules being relatively fixed and unable to be expanded, so that the existing form verification method has relatively few verification rules, such as the type of the verification parameter is a number, and the length of the parameter is 7 digits, etc., so it can only be applied to the rule verification of simple forms, and cannot meet the verification requirements of increasingly rich types of forms
[0005] 2. If the submitted form is more complex, form validation will become less efficient
[0018] When verifying a form in the prior art, due to the large number of input boxes in a complex form, it is necessary to write a corresponding logic judgment code for each verification rule of each input box, for example, there are 10 input boxes, The input boxes are all 11-digit phone numbers, and checking a phone number requires 20 lines of logic judgment codes. If each input box writes a 20-line logic judgment code, 200 lines of logic judgment codes are required, only for the input It takes 200 lines of logical judgment code to verify the phone number in the box. When other verifications are required for the input box, there will be a very large code. The large and complex code greatly affects the execution efficiency of the code, so it reduces the Form verification efficiency, poor user experience

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Form verification method and form verification system
  • Form verification method and form verification system
  • Form verification method and form verification system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0097] The following configuration text specifies the verification rules when verifying the input box whose ID is testNodeId:

[0098]

Embodiment 2

[0100] The following configuration text specifies the verification rules in the rule type that uses the asynchronous request method to verify the input value:

[0101]

[0102]

Embodiment 3

[0104] The input box whose ID is testNodeId needs to contain the string "china" in the input value, and the configuration text is as follows:

[0105]

[0106]

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a form verification method which comprises obtaining a corresponding verification regulation from a preset configuration text in a server according to an input frame identification (ID) in a form submitted by a user; verifying an input value in the form according to the obtained verification regulation, and displaying an error prompt message to the user if the verification fails. The invention further provides a form verification system. The form verification method and the form verification system can be used for automatic verification of forms, and verification efficiency of the forms is improved.

Description

【Technical field】 [0001] The invention relates to the field of Internet applications, in particular to a form verification method and system. 【Background technique】 [0002] At present, in the usage scenarios of various forms such as registering Weibo, registering email, merchant center, etc., users need to submit various information to the corresponding server through the form displayed by the browser. The form consists of one or more input boxes or input controls. , the input control can be a drop-down menu, etc.; the browser needs to verify the information in the form submitted by the user to confirm whether the submitted information meets the requirements. When verifying the information in the form, it is necessary to judge whether each field in the information conforms to the preset rules. For example, some rules are based on the response value of the server to determine whether the verification is passed, and some rules need to rely on the values ​​of other fields to d...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/22
Inventor 雷凯华白旭
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products