CN112580301A - Form verification method, device, equipment and storage medium - Google Patents

Form verification method, device, equipment and storage medium Download PDF

Info

Publication number
CN112580301A
CN112580301A CN201910926012.XA CN201910926012A CN112580301A CN 112580301 A CN112580301 A CN 112580301A CN 201910926012 A CN201910926012 A CN 201910926012A CN 112580301 A CN112580301 A CN 112580301A
Authority
CN
China
Prior art keywords
form information
verification
line
display style
verified
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910926012.XA
Other languages
Chinese (zh)
Inventor
杜志娟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Gridsum Technology Co Ltd
Original Assignee
Beijing Gridsum Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Gridsum Technology Co Ltd filed Critical Beijing Gridsum Technology Co Ltd
Priority to CN201910926012.XA priority Critical patent/CN112580301A/en
Publication of CN112580301A publication Critical patent/CN112580301A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The invention discloses a form verification method, a form verification device, form verification equipment and a storage medium. The method comprises the following steps: acquiring form information to be verified, wherein each row of form information is wrapped by one label element, and the display style of each label element can be independently modified; determining the row of the form information which does not pass the verification; and modifying the display style of the line where the form information which does not pass the verification into a display style different from that of the form information which passes the verification so as to prompt that the content of the corresponding line does not pass the form verification. According to the invention, through wrapping the label element of each row of form information, the respective form verification of the multiple rows of form information is realized, so that the form verification accurate to the row can be executed aiming at the form information input in multiple rows, and the display style can be modified by the label element, so that the display style of the row where the form information which does not pass the verification is located can be changed, the prompt of accurate to the row can be executed aiming at the form information input in multiple rows, manual line-by-line inspection is not needed, and the verification efficiency is improved.

Description

Form verification method, device, equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a storage medium for form verification.
Background
The form verification function is used to check whether the user enters the form information in the correct format. For example: when a user registers a certain website, form information is filled in an input box according to input prompt information displayed in a page, the form information is checked so as to verify whether form data is correct, and if the check is not passed, prompt is performed in the page so as to facilitate the user to correct the content of the form information.
In the existing form verification function, for the case that the verification fails, the style of the original form is not changed, but text prompt is performed at the adjacent position of the input box corresponding to the form. For example: the text "enter incorrect format, please re-enter" in red font is shown on the right side of the input box. The form checking mode can meet the requirement of a use scene for a simple filled-in single-line form, but cannot meet the requirement of a form checking scene for multi-line text input. Further, the existing form verification function cannot perform line-accurate form verification and prompt on a form for inputting multi-line text, and for the case that the verification fails, a user can only see the prompt for the whole multi-line text and cannot visually see the text line which causes the failure of the verification in an input box, so that the user needs to check line by line, which is time-consuming and labor-consuming.
Disclosure of Invention
The invention mainly aims to provide a form verification method, a form verification device and a storage medium, which aim to solve the problem that the existing form verification function cannot perform line-accurate form verification and prompting on a form for multi-line text input.
Aiming at the technical problems, the invention solves the technical problems by the following technical scheme:
the invention provides a form verification method, which comprises the following steps: obtaining form information to be verified, wherein each line of the form information is wrapped by one label element, and the display style of each label element can be independently modified; determining the row of the form information which does not pass the verification; and modifying the display style of the line where the form information which does not pass the verification into a display style different from that of the form information which passes the verification so as to prompt that the content of the corresponding line does not pass the form verification.
Before the obtaining of the form information to be verified, the method further includes: inputting form information to be verified in a pre-generated text field; and in the form information input process, setting a label element for each line of form information input in the text field.
Before the form information to be verified is input in the pre-generated text field, the method further comprises the following steps: creating an editable Document Object Model (DOM) element in a hypertext markup language (HTML) page so as to generate a text field for inputting form information; the setting of the label element for each line of form information input in the text field includes: and setting a preset type of closure tag in the DOM element for each row of form information input in the text field.
After the creating of the editable Document Object Model (DOM) element, the method further comprises the following steps: binding Input events for the DOM elements; the Input event is used for triggering and executing form verification operation after the Input of each row of form information is finished; the determining of the line where the form information which does not pass the verification is located includes: and responding to the detected Input event, executing form verification operation on the row where the Input form information is located, and determining the row where the form information which does not pass the verification is located.
Wherein, the determining the row of the form information which is not verified comprises: and respectively executing form verification operation on a plurality of lines of form information input in the text field, and determining the lines of the form information which does not pass the verification.
The method for respectively executing form verification operations on the multiple lines of form information input in the text field comprises the following steps: determining multiple lines of form information with the same content in the multiple lines of form information input in the text field; performing form verification operation on one line of form information in multiple lines of form information with the same content; the modifying the display style of the line where the form information which is not verified is different from the display style of the form information which is verified comprises the following steps: and modifying the display style of the line of the form information which is not verified and the display style of the line of the form information which is the same as the content of the form information which is not verified to be different from the display style of the form information which is verified.
Wherein, the modifying the display style of the line where the form information which is not verified is different from the display style of the form information which is verified comprises: adding underlines at the bottom of the form information which is not verified; and/or performing text bolding, text ground color filling, text color modification and/or text font modification on the form information which does not pass the verification.
The invention also provides a form verification device, comprising: the system comprises an acquisition module, a verification module and a verification module, wherein the acquisition module is used for acquiring form information to be verified, each line of the form information is wrapped by one label element, and the display style of each label element can be independently modified; the determining module is used for determining the row of the form information which does not pass the verification; and the modification module is used for modifying the display style of the line where the form information which does not pass the verification into the display style different from the display style of the form information which passes the verification so as to prompt that the content of the corresponding line does not pass the form verification.
The invention also provides a form checking device, which comprises at least one processor, at least one memory and a bus, wherein the memory and the bus are connected with the processor; the processor and the memory complete mutual communication through the bus; the processor is used for calling the program instructions in the memory to realize the form verification method.
The present invention also provides a storage medium storing one or more programs executable by one or more processors to implement the above-described form verification method.
The invention has the following beneficial effects:
according to the invention, through wrapping the label element of each row of form information, the respective form verification of the multiple rows of form information is realized, so that the form verification accurate to the row can be executed aiming at the form information input in multiple rows, and the display style can be modified by the label element, so that the display style of the row where the form information which does not pass the verification is located can be changed, the prompt accurate to the row can be executed aiming at the form information input in multiple rows, manual line-by-line inspection is not needed, and the verification efficiency is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a flow diagram of a form verification method according to an embodiment of the invention;
FIG. 2 is a detailed flow diagram of a form verification method according to an embodiment of the invention;
FIG. 3 is a diagram of a display style according to an embodiment of the invention;
FIG. 4 is a block diagram of a form verification device according to one embodiment of the present invention;
FIG. 5 is a block diagram of a form verification device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail below with reference to the accompanying drawings and specific embodiments.
According to an embodiment of the invention, a form verification method is provided. Fig. 1 is a flowchart illustrating a form verification method according to an embodiment of the invention.
Step S110, obtaining form information to be verified, wherein each line of the form information is wrapped by one label element, and the display style of each label element can be independently modified.
The tag element is used to identify each line of form information entered in the text field, respectively. And according to the label element, the display style of the line where the identified form information is located can be modified.
Further, before the obtaining the form information to be verified, the method further includes: inputting form information to be verified in a pre-generated text field; and in the form information input process, setting a label element for each line of form information input in the text field.
And step S120, determining the row of the form information which does not pass the verification.
And respectively carrying out form verification operation on a plurality of lines of form information input in the text field, and determining the lines of the form information which does not pass the verification.
Specifically, when a form verification task is executed, identifying form information of each row according to the label elements; and respectively executing form verification operation aiming at each identified row of form information, and determining the row of the form information which does not pass the verification. Further, the form verification task may be executed once every time a line of form information is input, and the form verification operation may be executed on the line of form information, or the form verification task may be executed once after all lines of form information are input, and the form verification operation may be executed on each line of form information.
Step S130, modifying the display style of the line where the form information that fails to pass the verification to be different from the display style of the form information that passes the verification, so as to prompt that the content of the corresponding line fails to pass the form verification.
According to the embodiment, the label elements wrapping the form information of each row are used for realizing respective verification of the form information of multiple rows, so that the form verification accurate to the row can be executed aiming at the form information input by multiple rows, the display style can be modified by the label elements, the display style of the row where the form information which does not pass the verification is located can be changed, the prompt of accurate to the row can be executed aiming at the form information input by multiple rows, manual line-by-line inspection is not needed, and the verification efficiency is improved.
A more specific embodiment is provided below to illustrate the form verification method of the present invention.
Fig. 2 is a detailed flowchart of a form verification method according to an embodiment of the invention.
In step S210, an editable DOM (Document Object Model) element is created in an HTML (Hyper Text Markup Language) page to generate a Text field for form input.
Specifically, in an HTML page, a DOM element is created, and a contentdigital attribute of the DOM element, which is a component that can modify the element and allows a user to edit, is set to true, and a clickable element that can display editable text box behavior can be displayed in the HTML page at this time.
Step S220, setting a preset type of closed tag in the DOM element for each row of form information input in the text field.
And the closed label is used for wrapping the form information to be input.
Types of closure tags, including but not limited to: div (division) tags and p-tags.
Specifically, in the text field, each time a line of form information is entered for a new line, a closed label is generated on the new line.
Step S230, obtaining the form information to be verified.
Specifically, after the input of the single-row form information is finished, the single-row form information is acquired to realize dynamic verification; or after the input of the multiple lines of form information is finished, the multiple lines of form information are acquired to realize batch verification.
Step S240, performing form verification operation on the acquired form information to be verified, and determining the row of the form information that fails to be verified.
Specifically, each line of form information is identified according to the closed label, and form verification operation aiming at the line is performed on the form information by using a preset verification rule.
The check rule is used for indicating the condition which needs to be met by the form information passing the check. For example: indicating the text format that the form information passing the verification needs to satisfy.
Two forms verification methods are provided below, but those skilled in the art should understand that the two forms verification methods are only used for illustrating the embodiment and are not used for limiting the embodiment.
The first mode, dynamic verification: bind Input events for DOM elements; the Input event is used for triggering and executing form verification operation after the Input of each row of form information is finished; and responding to the detected Input event, executing form verification operation on the row where the Input form information is located, and determining the row where the form information which does not pass the verification is located.
And a second mode, batch verification: and after determining that the form information input is completed, triggering the execution of a form verification task so as to respectively execute form verification operation on the multiple lines of form information input in the text field. That is, after the input of all the lines of form information is completed, the form verification task is triggered, the form verification operations are respectively performed on the lines of form information, and the lines of the form information which does not pass the verification are determined.
Step S250, modifying the display style of the line where the form information that fails to pass the verification to be different from the display style of the form information that passes the verification, so as to prompt that the content of the corresponding line fails to pass the form verification.
The mode for modifying the display style comprises the following steps: adding underlines at the bottom of the form information which is not verified; and/or performing text bolding, text ground color filling, text color modification and/or text font modification on the form information which does not pass the verification.
For example: fig. 3 is a schematic diagram illustrating a display style according to an embodiment of the invention. In fig. 3, "sdf" does not pass the check, and the closed label of "sdf" is modified in display style, and underlined at the bottom of "sdf". The implementation code for the content in fig. 3 is as follows:
<p contenteditable="true">
this is an editable paragraph. Please try to edit the text.
<div style="text-decoration:underline wavy red;/*color:red;*/”>sdf</div>
<div>sdf</div>
<div>iuy</div>
</p>
When form verification operation is respectively executed for a plurality of lines of form information input in the text field, in order to reduce the operation amount and further improve the verification efficiency, the plurality of lines of form information with the same content are determined in the plurality of lines of form information input in the text field; performing form verification operation on one line of form information in multiple lines of form information with the same content; and modifying the display style of the line of the form information which is not verified and the display style of the line of the form information which is the same as the content of the form information which is not verified to be different from the display style of the form information which is verified.
For example: in the 100 lines of form information, 20 lines of form information having the same content exist, and when the form verification operation is performed on each of the 100 lines of form information, the form verification operation is performed on one line of form information in the 20 lines of form information having the same content, and the form verification operation is performed on the remaining 80 lines of form information having different contents. If the form information check of the form check operation performed in the 20 lines of form information with the same content fails, the 20 lines of form information with the same content all need to modify the display style.
In the embodiment, the multi-line form information input in the text field can be checked respectively more flexibly, the checking result of the multi-line form information can be accurately positioned in the HTML page, and the specific lines which fail to be checked are visually embodied, so that the filling of the form information can be assisted more efficiently.
The invention provides a form verification device. Fig. 4 is a block diagram of a form verification apparatus according to an embodiment of the present invention.
The form verification device comprises: an acquisition module 410, an acquisition module 420, and a modification module 430.
The obtaining module 410 is configured to obtain form information to be verified, where each line of the form information is wrapped by one tag element, and a display style of each tag element can be modified independently.
And the determining module 420 is configured to determine where the form information that fails to pass the verification is located.
And a modification module 430, configured to modify a display style of a line in which the form information that fails to pass the verification is located to be different from a display style of the form information that passes the verification, so as to prompt that the content of the corresponding line fails to pass the form verification.
Wherein the apparatus further comprises: an input module (not shown) to which the acquisition module 410 is connected. The input module is used for inputting the form information to be verified in a pre-generated text field before the form information to be verified is obtained; and in the form information input process, setting a label element for each line of form information input in the text field.
The input module is used for creating an editable Document Object Model (DOM) element in a hypertext markup language (HTML) page before inputting form information to be verified in a pre-generated text field so as to generate the text field for inputting the form information; and setting a preset type of closure tag in the DOM element for each row of form information input in the text field.
Wherein the input module is further configured to: after the editable Document Object Model (DOM) element is created, binding an Input event for the DOM element; the Input event is used for triggering and executing form verification operation after the Input of each row of form information is finished; the determining module 420 is configured to: and responding to the detected Input event, executing form verification operation on the row where the Input form information is located, and determining the row where the form information which does not pass the verification is located.
The determining module 420 is configured to perform form verification operations on multiple lines of form information input in the text field, and determine where the form information that fails to be verified is located.
Wherein the determining module 420 is further configured to: determining multiple lines of form information with the same content in the multiple lines of form information input in the text field; performing form verification operation on one line of form information in multiple lines of form information with the same content; the modifying module 430 is configured to: and modifying the display style of the line of the form information which is not verified and the display style of the line of the form information which is the same as the content of the form information which is not verified to be different from the display style of the form information which is verified.
Wherein the modifying module 430 is further configured to: adding underlines at the bottom of the form information which is not verified; and/or performing text bolding, text ground color filling, text color modification and/or text font modification on the form information which does not pass the verification.
The functions of the apparatus in this embodiment have already been described in the method embodiments shown in fig. 1 to fig. 3, so that reference may be made to the related descriptions in the foregoing embodiments for details in the description of this embodiment, which are not repeated herein.
The form verification device comprises a processor and a memory, the obtaining module 410, the determining module 420, the modifying module 430 and the like are all stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to be one or more, and the form verification method is realized by adjusting kernel parameters. Since the form verification method has been described above, it is not described herein.
An embodiment of the present invention further provides a storage medium (computer-readable storage medium) on which a program is stored, where the program is executed by a processor to implement the form verification method. Further, the storage medium stores one or more programs executable by one or more processors to implement the form verification method. Since the form verification method has been described above, it is not described herein.
The embodiment of the invention also provides a processor, which is used for running the program, wherein the form verification method is executed when the program runs. Since the form verification method has been described above, it is not described herein.
The embodiment of the invention also provides a form checking device. Fig. 5 is a block diagram of a form verification apparatus according to an embodiment of the present invention.
The form verification apparatus 50 includes at least one processor 510, and at least one memory 520, a bus 530 connected to the processor; the processor 510 and the memory 520 complete communication with each other through the bus 530; processor 510 is configured to call program instructions in memory 520 to perform the form verification method described above. Since the form verification method has been described above, it is not described herein. The device herein may be a server, a PC, a PAD, a mobile phone, etc.
The invention also provides a computer program product. When executed on a data processing device, is adapted to perform a procedure for initializing the following method steps: obtaining form information to be verified, wherein each line of the form information is wrapped by one label element, and the display style of each label element can be independently modified; determining the row of the form information which does not pass the verification; and modifying the display style of the line where the form information which does not pass the verification into a display style different from that of the form information which passes the verification so as to prompt that the content of the corresponding line does not pass the form verification.
Before the obtaining of the form information to be verified, the method further includes: inputting form information to be verified in a pre-generated text field; and in the form information input process, setting a label element for each line of form information input in the text field.
Before the form information to be verified is input in the pre-generated text field, the method further comprises the following steps: creating an editable Document Object Model (DOM) element in a hypertext markup language (HTML) page so as to generate a text field for inputting form information; the setting of the label element for each line of form information input in the text field includes: and setting a preset type of closure tag in the DOM element for each row of form information input in the text field.
After the creating of the editable Document Object Model (DOM) element, the method further comprises the following steps: binding Input events for the DOM elements; the Input event is used for triggering and executing form verification operation after the Input of each row of form information is finished; the determining of the line where the form information which does not pass the verification is located includes: and responding to the detected Input event, executing form verification operation on the row where the Input form information is located, and determining the row where the form information which does not pass the verification is located.
Wherein, the determining the row of the form information which is not verified comprises: and respectively executing form verification operation on a plurality of lines of form information input in the text field, and determining the lines of the form information which does not pass the verification.
The method for respectively executing form verification operations on the multiple lines of form information input in the text field comprises the following steps: determining multiple lines of form information with the same content in the multiple lines of form information input in the text field; performing form verification operation on one line of form information in multiple lines of form information with the same content; the modifying the display style of the line where the form information which is not verified is different from the display style of the form information which is verified comprises the following steps: and modifying the display style of the line of the form information which is not verified and the display style of the line of the form information which is the same as the content of the form information which is not verified to be different from the display style of the form information which is verified.
Wherein, the modifying the display style of the line where the form information which is not verified is different from the display style of the form information which is verified comprises: adding underlines at the bottom of the form information which is not verified; and/or performing text bolding, text ground color filling, text color modification and/or text font modification on the form information which does not pass the verification.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a device includes one or more processors (CPUs), memory, and a bus. The device may also include input/output interfaces, network interfaces, and the like.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip. The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A form verification method, comprising:
obtaining form information to be verified, wherein each line of the form information is wrapped by one label element, and the display style of each label element can be independently modified;
determining the row of the form information which does not pass the verification;
and modifying the display style of the line where the form information which does not pass the verification into a display style different from that of the form information which passes the verification so as to prompt that the content of the corresponding line does not pass the form verification.
2. The method according to claim 1, further comprising, before said obtaining the form information to be verified:
inputting form information to be verified in a pre-generated text field;
and in the form information input process, setting a label element for each line of form information input in the text field.
3. The method of claim 2,
before the form information to be verified is input in the pre-generated text field, the method further comprises the following steps:
creating an editable Document Object Model (DOM) element in a hypertext markup language (HTML) page so as to generate a text field for inputting form information;
the setting of the label element for each line of form information input in the text field includes:
and setting a preset type of closure tag in the DOM element for each row of form information input in the text field.
4. The method of claim 3,
after the creating an editable Document Object Model (DOM) element, the method further comprises the following steps:
binding Input events for the DOM elements; the Input event is used for triggering and executing form verification operation after the Input of each row of form information is finished;
the determining of the line where the form information which does not pass the verification is located includes:
and responding to the detected Input event, executing form verification operation on the row where the Input form information is located, and determining the row where the form information which does not pass the verification is located.
5. The method of claim 1, wherein the determining the row of the form information that fails to pass the verification comprises:
and respectively executing form verification operation on a plurality of lines of form information input in the text field, and determining the lines of the form information which does not pass the verification.
6. The method of claim 5,
respectively executing form verification operations on a plurality of lines of form information input in the text field comprises the following steps:
determining multiple lines of form information with the same content in the multiple lines of form information input in the text field;
performing form verification operation on one line of form information in multiple lines of form information with the same content;
the modifying the display style of the line where the form information which is not verified is different from the display style of the form information which is verified comprises the following steps:
and modifying the display style of the line of the form information which is not verified and the display style of the line of the form information which is the same as the content of the form information which is not verified to be different from the display style of the form information which is verified.
7. The method according to any one of claims 1 to 6, wherein the modifying the display style of the row of the form information which is not verified to be different from the display style of the form information which is verified to be different comprises:
adding underlines at the bottom of the form information which is not verified; and/or the presence of a gas in the gas,
and performing text thickening, text ground color filling, text color modification and/or text font modification on the form information which does not pass the verification.
8. A form verification apparatus, comprising:
the system comprises an acquisition module, a verification module and a verification module, wherein the acquisition module is used for acquiring form information to be verified, each line of the form information is wrapped by one label element, and the display style of each label element can be independently modified;
the determining module is used for determining the row of the form information which does not pass the verification;
and the modification module is used for modifying the display style of the line where the form information which does not pass the verification into the display style different from the display style of the form information which passes the verification so as to prompt that the content of the corresponding line does not pass the form verification.
9. The form verification device is characterized by comprising at least one processor, at least one memory and a bus, wherein the memory and the bus are connected with the processor; the processor and the memory complete mutual communication through the bus; the processor is configured to invoke program instructions in the memory to implement the form verification method of any of claims 1 to 7.
10. A storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the form verification method of any one of claims 1 to 7.
CN201910926012.XA 2019-09-27 2019-09-27 Form verification method, device, equipment and storage medium Pending CN112580301A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910926012.XA CN112580301A (en) 2019-09-27 2019-09-27 Form verification method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910926012.XA CN112580301A (en) 2019-09-27 2019-09-27 Form verification method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112580301A true CN112580301A (en) 2021-03-30

Family

ID=75109938

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910926012.XA Pending CN112580301A (en) 2019-09-27 2019-09-27 Form verification method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112580301A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113449496A (en) * 2021-06-25 2021-09-28 北京京东振世信息技术有限公司 Method and device for automatically generating maintenance document

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005141408A (en) * 2003-11-05 2005-06-02 Dainippon Printing Co Ltd Server unit and electronic form
US20140012922A1 (en) * 2012-07-07 2014-01-09 Jianqing Wu Web-based Information Management System
CN103605640A (en) * 2013-12-03 2014-02-26 中国联合网络通信集团有限公司 Form adaption method and device
CN107451112A (en) * 2017-07-24 2017-12-08 网易(杭州)网络有限公司 Form tool data inspection method, device, terminal device and storage medium
US20180101562A1 (en) * 2016-10-12 2018-04-12 Bank Of America Corporation Metadata Validation Tool

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005141408A (en) * 2003-11-05 2005-06-02 Dainippon Printing Co Ltd Server unit and electronic form
US20140012922A1 (en) * 2012-07-07 2014-01-09 Jianqing Wu Web-based Information Management System
CN103605640A (en) * 2013-12-03 2014-02-26 中国联合网络通信集团有限公司 Form adaption method and device
US20180101562A1 (en) * 2016-10-12 2018-04-12 Bank Of America Corporation Metadata Validation Tool
CN107451112A (en) * 2017-07-24 2017-12-08 网易(杭州)网络有限公司 Form tool data inspection method, device, terminal device and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113449496A (en) * 2021-06-25 2021-09-28 北京京东振世信息技术有限公司 Method and device for automatically generating maintenance document
CN113449496B (en) * 2021-06-25 2024-05-17 北京京东振世信息技术有限公司 Method and device for automatically generating maintenance bill

Similar Documents

Publication Publication Date Title
US10749927B2 (en) Webpage loading method, apparatus and system
CN110069683B (en) Method and device for crawling data based on browser
EP3435225B1 (en) Mixed view display method and device
CN106951231B (en) Computer software development method and device
CN109683773B (en) Corpus labeling method and apparatus
CN106843901B (en) Page rendering and verification method and device
CN114816404A (en) Method and device for dynamically rendering view page, computer equipment and storage medium
CN110780868A (en) Website development method, device, equipment and storage medium based on componentized template
CN108460003B (en) Text data processing method and device
CN112580301A (en) Form verification method, device, equipment and storage medium
CN110020291B (en) Webpage layout processing method and device
CN111209028B (en) Data processing method and device, electronic equipment and storage medium
CN112650492A (en) Rendering method, system and related device of Web page
CN109558548A (en) A kind of method and Related product for eliminating CSS style redundancy
CN110968810A (en) Webpage data processing method and device
CN111209009B (en) Content distribution method and device, storage medium and electronic equipment
CN109558549B (en) Method for eliminating CSS style redundancy and related product
CN116301856A (en) Design method, device, equipment and medium of visual form designer
CN110008116B (en) Wechat webapp debugging method and device
CN106610833B (en) Method and device for triggering overlapped HTML element mouse event
CN102929777B (en) Network application method of testing and test macro
CN110019198B (en) Data query method and device
CN112579068A (en) Code generation method, device, storage medium and equipment
CN111208986B (en) Variable processing method and device, storage medium and processor
CN117421039B (en) Version information generation method, device and equipment of front-end Vue engineering and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination