Supercharge Your Innovation With Domain-Expert AI Agents!

Form verification method and device

A verification method and form verification technology, applied in the computer field, can solve problems such as inability to realize form verification, and achieve the effects of improving usability and flexibility, improving scalability, and reducing code coupling.

Inactive Publication Date: 2018-12-07
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF3 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] In view of this, the embodiment of the present invention provides a method and device for form verification, which can solve the technical problem that cross-component form verification cannot be realized in the prior art

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 device
  • Form verification method and device
  • Form verification method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0036] figure 2 An exemplary system architecture 200 to which the form verification method or form verification device of the embodiment of the present invention can be applied is shown.

[0037] Such as figure 2 As shown, the system architecture 200 may include terminal devices 201 , 202 , 203 , a network 204 and a server 205 . The network 204 is used as a medium for...

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 discloses a form verification method and device, and relates to the technical field of computers. One embodiment of the method comprises the steps: a main form is divided into a plurality of sub-forms according to the type; and when the sub-forms are called, the sub-forms are verified, and the verification result is transmitted through a callback function. The usability and the flexibility of form verification can be enhanced; meanwhile, the extensibility of the code can be enhanced and the coupling degree of the code can be reduced.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a form verification method and device. Background technique [0002] Javascript is a front-end scripting language, and Vue is a Javascript-based front-end framework. Form validation is one of the advanced options in javascript, which validates the input data in the Hypertext Markup Language (HTML) form before the data is sent to the server. The verified form data includes: whether the user has filled in the required items in the form, whether the email address entered by the user is legal, whether the user has entered a valid date, or whether the user has entered text in the numeric field, etc. [0003] Such as figure 1 In the schematic diagram of the implementation process of the form validation method in the prior art shown, a form validation component (vee-validate) or other validation components based on the Vue framework is introduced into the form page, and validation r...

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
IPC IPC(8): G06F17/24
CPCG06F40/174G06F40/18
Inventor 宋小兵
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More