CN116451666A - Form generation method and device and electronic equipment - Google Patents
Form generation method and device and electronic equipment Download PDFInfo
- Publication number
- CN116451666A CN116451666A CN202310273803.3A CN202310273803A CN116451666A CN 116451666 A CN116451666 A CN 116451666A CN 202310273803 A CN202310273803 A CN 202310273803A CN 116451666 A CN116451666 A CN 116451666A
- Authority
- CN
- China
- Prior art keywords
- cell
- input
- target
- cells
- row
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 51
- 238000012544 monitoring process Methods 0.000 claims abstract description 10
- 230000004044 response Effects 0.000 claims abstract description 8
- 230000015654 memory Effects 0.000 claims description 19
- 238000004590 computer program Methods 0.000 claims description 5
- 230000001960 triggered effect Effects 0.000 claims description 5
- 230000008569 process Effects 0.000 abstract description 5
- 238000012795 verification Methods 0.000 abstract description 3
- 230000006870 function Effects 0.000 description 5
- 238000012545 processing Methods 0.000 description 4
- 238000013461 design Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000012217 deletion Methods 0.000 description 2
- 230000037430 deletion Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000003780 insertion Methods 0.000 description 2
- 230000037431 insertion Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000000903 blocking effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004883 computer application Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000012938 design process Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000007373 indentation Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008719 thickening Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
- G06F40/177—Editing, e.g. inserting or deleting of tables; using ruled lines
- G06F40/18—Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a form generation method, a form generation device and electronic equipment, wherein the method comprises the following steps: obtaining a target form, wherein the target form comprises a plurality of cells, each cell is provided with a corresponding form field, and the form fields are used for representing cell input rules; monitoring in response to input operations for each cell contained in the target form; when the input operation of any cell in the target form is monitored, judging whether the input information accords with the input rule according to the form field of the cell corresponding to the input operation; and when the input information does not accord with the input rule, generating input failure prompt information. The method provided by the invention realizes automatic verification of the accuracy of the input data in the form input process, effectively improves the accuracy of form information collection and improves the form statistics efficiency.
Description
Technical Field
The present invention relates to the field of computer application technologies, and in particular, to a form control method, a form control device, and an electronic device.
Background
In the existing form generation technology, a user can only input data by means of past experience when inputting forms, so that the accuracy of the data obtained by statistics is low, and when errors exist in form filling, the contents of the forms need to be corrected, and the efficiency of form statistics cannot be guaranteed.
Disclosure of Invention
Therefore, the invention aims to overcome the defect that the accuracy of data input cannot be ensured by the existing form generation technology, and further provides a form generation method, a form generation device and electronic equipment.
According to a first aspect, an embodiment of the present invention discloses a form generating method, including: obtaining a target form, wherein the target form comprises a plurality of cells, each cell is provided with a corresponding form field, and the form field is used for representing a cell input rule; monitoring in response to input operation of each cell contained in the target form; when the input operation of any cell in the target form is monitored, judging whether the input information accords with an input rule according to the form field of the cell corresponding to the input operation; and when the input information does not accord with the input rule, generating input failure prompt information.
Optionally, before the target form is acquired, the method further includes: acquiring a data identifier contained in an electronic form to be generated; and determining the form field of the cell corresponding to the data identification position and the cell corresponding to the data position to be input according to the data identification, and binding the form field with the corresponding cell.
Optionally, the form field includes input prompt information; the method further comprises the steps of: when any cell is monitored to have input operation, displaying input prompt information corresponding to the cell at a target position of the cell.
Optionally, the method further comprises: monitoring a frame selection event in the target form; when the frame selection event is monitored, taking a cell corresponding to the position where the frame selection event is triggered as a starting cell until the frame selection event is ended and highlighting the selected cell.
Optionally, the method further comprises: when a row adding or deleting request of the target form is monitored, judging whether column merging cells exist in the selected row; when column merging cells exist in the selected row, splitting the column merging cells; and performing row adding or deleting operation according to the splitting result of the column merging unit cells.
Optionally, the method further comprises: when a column adding or deleting request of the target form is monitored, judging whether a row merging cell exists in the selected column; splitting the row merging cells when the selected row exists in the row merging cells; and performing column adding or deleting operation according to the splitting result of the row merging unit cells.
According to a second aspect, an embodiment of the present invention further discloses a form generating apparatus, including: the first acquisition module is used for acquiring a target form, wherein the target form comprises a plurality of cells, each cell is provided with a corresponding form field, and the form field is used for representing a cell input rule; the response module is used for responding to the input operation of each cell contained in the target form to monitor; the judging module is used for judging whether the input information accords with the input rule according to the form field of the cell corresponding to the input operation when the input operation of any cell in the target form is monitored; and the generating module is used for generating the input failure prompt information when the input information does not accord with the input rule.
Optionally, the apparatus further comprises: the second acquisition module is used for acquiring the data identifier contained in the electronic form to be generated; and the determining module is used for determining the corresponding cell of the data identification position and the form field of the cell corresponding to the data position to be input according to the data identification, and binding the form field with the corresponding cell.
According to a third aspect, an embodiment of the present invention further discloses an electronic device, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to cause the at least one processor to perform the steps of the form generation method of the first aspect or any alternative implementation of the first aspect.
According to a fourth aspect, an embodiment of the present invention also discloses a computer-readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, implements the steps of the form generating method according to the first aspect or any of the alternative embodiments of the first aspect.
The technical scheme of the invention has the following advantages:
the form generation method/device provided by the invention comprises the following steps: obtaining a target form, wherein the target form comprises a plurality of cells, each cell is provided with a corresponding form field, and the form fields are used for representing cell input rules; monitoring in response to input operations for each cell contained in the target form; when the input operation of any cell in the target form is monitored, judging whether the input information accords with the input rule according to the form field of the cell corresponding to the input operation; and when the input information does not accord with the input rule, generating input failure prompt information. According to the method provided by the invention, the corresponding form fields are arranged on the unit cells in the target form, when the input operation of any unit cell is monitored, whether the input information is correct or not is judged according to the form field corresponding to the unit cell, when the input content is incorrect, the input failure prompt information is generated, the accuracy of the input data is automatically checked in the form input process, the accuracy of form information collection is effectively improved, and the form statistics efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a specific example of a form generation method in an embodiment of the present invention;
FIG. 2 is a schematic block diagram of a specific example of a form generating apparatus in an embodiment of the present invention;
fig. 3 is a schematic diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made apparent and fully in view of the accompanying drawings, in which some, but not all embodiments of the invention are shown. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. are based on the directions or positional relationships shown in the drawings, are merely for convenience of describing the present invention and simplifying the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the description of the present invention, it should be noted that, unless explicitly specified and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be either fixedly connected, detachably connected, or integrally connected, for example; can be mechanically or electrically connected; the two components can be directly connected or indirectly connected through an intermediate medium, or can be communicated inside the two components, or can be connected wirelessly or in a wired way. The specific meaning of the above terms in the present invention will be understood in specific cases by those of ordinary skill in the art.
In addition, the technical features of the different embodiments of the present invention described below may be combined with each other as long as they do not collide with each other.
The embodiment of the invention discloses a form generation method, as shown in fig. 1, which comprises the following steps:
step 101, obtaining a target form, wherein the target form comprises a plurality of cells, each cell is provided with a corresponding form field, and the form field is used for representing a cell input rule.
The target form may be any report form that can be edited and designed, and in this embodiment of the present application, the computer terminal may acquire the target form and perform a series of processing operations on the target form; the computer terminal can be provided with a form generation engine which comprises a plurality of form generation functions and can realize the design and information statistics of the forms; the target form comprises a plurality of cells, and a user can input corresponding contents in each cell at a human-computer interaction interface of the computer terminal; the form field is a cell input rule bound with a cell, and can be used for verifying information input by the cell, so that the input content meets the regulations, and the form field can include but is not limited to input text types, character limits, text units, maximum values, minimum values, data sources and the like.
And 102, responding to the input operation of each cell contained in the target form to monitor.
Illustratively, in the embodiment of the present application, the computer terminal monitors the input operation of each cell included in the target form.
And step 103, when the input operation of any cell in the target form is monitored, judging whether the input information accords with the input rule according to the form field of the cell corresponding to the input operation.
In an exemplary embodiment of the present application, when the computer terminal monitors the input operation of any cell, it is determined whether the input content meets the input rule according to the form field of the cell. In this embodiment of the present application, the form field type may include, but is not limited to, (1) a single line text, where shorter text content needs to be input, including text type, phone number type, URL type, mailbox type, etc., and the specific content of the field setting may include, but is not limited to, field name, default value, etc.; (2) Multiple lines of text, requiring longer text content input, suitable for notes, introduction descriptions, comments, etc., and specific contents of field settings may include, but are not limited to, field names, default values, etc.; (3) The number is suitable for the cell which needs to input the digital content, and comprises the number of objects, the size of the objects, the distance and the like, and the specific content of the field setting can comprise, but is not limited to, a field name, a number unit, a maximum value, a minimum value, input box text indentation and the like; (4) The drop-down selection needs to input corresponding contents through the drop-down selection, including address selection, professional selection, classification selection and the like, and the specific setting contents of the fields can include, but are not limited to, field names, data sources and the like; (5) Tree selection, which is suitable for structured data selection, including engineering structure selection, provincial and urban area address selection, file selection and the like; (6) A single selection box, which is suitable for single selection of cells, including gender, consent, etc., and the specific setting content of the field can include, but is not limited to, field name, data source, etc.; (7) Multiple boxes, suitable for multiple selected cells, including hobbies, sorting choices, etc., the specific setting content of the fields may include, but is not limited to, field names and data sources; (8) A time selector, adapted to the time-selected cell, the specific content of the field setting may include, but is not limited to, a field name, whether to select the current date by default, etc.; (9) Uploading, which is applicable to the cell where the accessory needs to be uploaded, the specific setting content of the field can include, but is not limited to, field name, accessory type setting and the like.
And 104, when the input information does not accord with the input rule, generating input failure prompt information.
In an exemplary embodiment of the present application, when the input information does not conform to the input rule, the input failure prompting information is generated, and may be used to prompt the inputter to re-input the related content or prompt the current input error reason, and in the re-input process of the user, the content of the prompting information is adjusted in time according to the change of the input information, and the prompting operation is stopped when the input is correct.
According to the form generation method provided by the embodiment of the invention, the unit cells in the target form are provided with the corresponding form fields, when the input operation of any unit cell is monitored, whether the input information is correct or not is judged according to the form field corresponding to the unit cell, when the input content is incorrect, the input failure prompt information is generated, the accuracy of the input data is automatically checked in the form input process, the accuracy of form information collection is effectively improved, and the form statistics efficiency is improved.
As an optional embodiment of the invention, before the target form is acquired, the method further comprises:
acquiring a data identifier contained in an electronic form to be generated; and determining the form field of the cell corresponding to the data identification position and the cell corresponding to the data position to be input according to the data identification, and binding the form field with the corresponding cell.
The data identifier is used for representing the data identifier to be input corresponding to each blank cell, and in the embodiment of the application, the form generating engine set by the computer terminal comprises a plurality of form controls and a control parameter setting function, different form controls can be used for setting different form fields for the cells, the set form fields are bound with the corresponding cells, and the follow-up verification of information input by the cells is facilitated.
As an optional implementation mode of the invention, the form field comprises input prompt information; the method further comprises the steps of:
when any cell is monitored to have input operation, displaying input prompt information corresponding to the cell at a target position of the cell.
The input prompt information corresponding to each cell can be set in the form field, and when the input operation of any cell is monitored, the input prompt information is displayed at the position where the cell is located, so that the input prompt information is convenient to use for inputting corresponding content according to the displayed input prompt information. The target position may be any position within a preset range around the position where the cell is located, and specifically may be determined according to whether the cell surrounding the cell contains data, so as to display the cell without blocking the data displayed by the surrounding cell.
As an alternative embodiment of the present invention, the method further comprises: monitoring a frame selection event in the target form; when the frame selection event is monitored, taking a cell corresponding to the position where the frame selection event is triggered as a starting cell until the frame selection event is ended and highlighting the selected cell.
In the embodiment of the application, the frame selection event in the target form can be monitored by monitoring the mouse click events of all the cells, the display of the page frame is triggered, and the position and the size of the frame can be determined by the position information of the selected cells. And highlighting the target through the selected cell, so that the user can visually check the selected cell conveniently.
As an alternative embodiment of the present invention, the method further comprises: when a row adding or deleting request of the target form is monitored, judging whether column merging cells exist in the selected row; when column merging cells exist in the selected row, splitting the column merging cells; and performing row adding or deleting operation according to the splitting result of the column merging unit cells.
When a row adding or deleting operation is required to be performed in the target form, whether a column merging unit is included in a selected row or not needs to be judged, if the column merging unit is included, the column merging unit is automatically split, and then the row adding or deleting operation is performed.
As an alternative embodiment of the present invention, the method further comprises: when a column adding or deleting request of the target form is monitored, judging whether a row merging cell exists in the selected column; splitting the row merging cells when the selected row exists in the row merging cells; and performing column adding or deleting operation according to the splitting result of the row merging unit cells.
For example, when a column adding or deleting operation is required to be performed in the target form, it is first required to determine whether the selected column contains a row merging unit and, if so, split the row merging unit, and then perform an operation of adding or deleting a column.
According to the form generation method provided by the embodiment of the application, the form data can be circulated, the form is rendered, the width of each column of cells in the first row is set based on the form width and height data, and the first cells in each row are circulated, and the height of the first column of cells in each row is set according to the form height data.
The method provided by the embodiment of the application can be applied to a form generation engine, is convenient for the design of a form, and can also set a plurality of shortcut buttons for common functions in the form design process, including cell background color filling, cell text color setting, cell text size setting, cell text thickening, cell text alignment modes (left alignment, center alignment, right alignment, upper alignment, vertical alignment and bottom alignment), cell merging, cell splitting, row insertion, row deletion, column insertion, column deletion, cell background graph setting, data importing, data exporting and the like. The form generation engine supports business personnel to freely design a required form based on a tool provided by a page, a form style is set in a dragging mode, binding of web-side form controls and unit cells can be supported, the requirements of various information collection are met, different form controls are selected according to different requirements, the comfort level of form use is improved, various input verification can be carried out on the form, the accuracy of form input information is improved, and functions which are not supported by a conventional form, such as the functions of inserting pictures of binding unit cells into the unit cells, automatically acquiring projects, automatically acquiring personnel information, automatically updating a form option data binding interface, inputting multiple source data sources, analyzing and importing excel data, online preview of accessories, real-time preview of the form and the like, can be supported.
The embodiment of the invention also discloses a form generating device, as shown in fig. 2, which comprises: a first obtaining module 201, configured to obtain a target form, where the target form includes a plurality of cells, each cell is provided with a corresponding form field, and the form field is used to characterize a cell input rule;
a response module 202, configured to monitor in response to an input operation for each cell included in the target form;
the first judging module 203 is configured to, when an input operation of any cell in the target form is monitored, judge whether the input information accords with an input rule according to a form field of a cell corresponding to the input operation;
and the generating module 204 is configured to generate an input failure prompt message when the input information does not conform to the input rule.
According to the form generation device provided by the invention, the unit cells in the target form are provided with the corresponding form fields, when the input operation of any unit cell is monitored, whether the input information is correct or not is judged according to the form field corresponding to the unit cell, when the input content is incorrect, the input failure prompt information is generated, the accuracy of the input data is automatically checked in the form input process, the accuracy of form information collection is effectively improved, and the form statistics efficiency is improved.
As an alternative embodiment of the present invention, the apparatus further comprises:
the second acquisition module is used for acquiring the data identifier contained in the electronic form to be generated;
and the determining module is used for determining the corresponding cell of the data identification position and the form field of the cell corresponding to the data position to be input according to the data identification, and binding the form field with the corresponding cell.
As an optional implementation mode of the invention, the form field comprises input prompt information; the apparatus further comprises: and the first display module is used for displaying input prompt information corresponding to any cell at the target position of the cell when the input operation of any cell is monitored.
As an alternative embodiment of the present invention, the apparatus further comprises:
the monitoring module is used for monitoring the frame selection event in the target form; and the second display module is used for taking a cell corresponding to the position where the frame selection event is triggered as a starting cell when the frame selection event is monitored, and highlighting the selected cell until the frame selection event is ended.
As an alternative embodiment of the present invention, the apparatus further comprises: the second judging module is used for judging whether column merging cells exist in the selected row or not when a row adding or deleting request of the target form is monitored; the first splitting module is used for splitting the column merging cells when the column merging cells exist in the selected row; and the row adding or deleting module is used for carrying out row adding or deleting operation according to the splitting result of the column merging unit cells.
As an alternative embodiment of the present invention, the apparatus further comprises: the third judging module is used for judging whether a row merging cell exists in the selected column or not when the column adding or deleting request of the target form is monitored; the second splitting module is used for splitting the row merging cells when the selected row exists in the row merging cells; and the column adding or deleting module is used for performing column adding or deleting operation according to the splitting result of the row merging unit cells.
The embodiment of the present invention further provides an electronic device, as shown in fig. 3, which may include a processor 401 and a memory 402, where the processor 401 and the memory 402 may be connected by a bus or other means, and in fig. 3, the connection is exemplified by a bus.
The processor 401 may be a central processing unit (Central Processing Unit, CPU). The processor 401 may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or combinations thereof.
The memory 402, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the form generation method in the embodiments of the present invention. The processor 401 executes various functional applications of the processor and data processing, i.e., implements the form generating method in the above-described method embodiments, by running non-transitory software programs, instructions, and modules stored in the memory 402.
Memory 402 may include a storage program area that may store an operating system, at least one application program required for functionality, and a storage data area; the storage data area may store data created by the processor 401, or the like. In addition, memory 402 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 402 may optionally include memory located remotely from processor 401, such remote memory being connectable to processor 401 through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The one or more modules are stored in the memory 402 and when executed by the processor 401, perform the form generation method in the embodiment shown in fig. 1.
The specific details of the electronic device may be understood correspondingly with respect to the corresponding related descriptions and effects in the embodiment shown in fig. 1, which are not repeated herein.
It will be appreciated by those skilled in the art that implementing all or part of the above-described embodiment method may be implemented by a computer program to instruct related hardware, where the program may be stored in a computer readable storage medium, and the program may include the above-described embodiment method when executed. Wherein the storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a Flash Memory (Flash Memory), a Hard Disk (HDD), or a Solid State Drive (SSD); the storage medium may also comprise a combination of memories of the kind described above.
Although embodiments of the present invention have been described in connection with the accompanying drawings, various modifications and variations may be made by those skilled in the art without departing from the spirit and scope of the invention, and such modifications and variations are within the scope of the invention as defined by the appended claims.
Claims (10)
1. A form generation method, comprising:
obtaining a target form, wherein the target form comprises a plurality of cells, each cell is provided with a corresponding form field, and the form field is used for representing a cell input rule;
monitoring in response to input operation of each cell contained in the target form;
when the input operation of any cell in the target form is monitored, judging whether the input information accords with an input rule according to the form field of the cell corresponding to the input operation;
and when the input information does not accord with the input rule, generating input failure prompt information.
2. The method of claim 1, wherein prior to the obtaining the target form, the method further comprises:
acquiring a data identifier contained in an electronic form to be generated;
and determining the form field of the cell corresponding to the data identification position and the cell corresponding to the data position to be input according to the data identification, and binding the form field with the corresponding cell.
3. The method of claim 1, wherein the form field comprises an input hint; the method further comprises the steps of:
when any cell is monitored to have input operation, displaying input prompt information corresponding to the cell at a target position of the cell.
4. The method according to claim 1, wherein the method further comprises:
monitoring a frame selection event in the target form;
when the frame selection event is monitored, taking a cell corresponding to the position where the frame selection event is triggered as a starting cell until the frame selection event is ended and highlighting the selected cell.
5. The method according to claim 1, wherein the method further comprises:
when a row adding or deleting request of the target form is monitored, judging whether column merging cells exist in the selected row;
when column merging cells exist in the selected row, splitting the column merging cells;
and performing row adding or deleting operation according to the splitting result of the column merging unit cells.
6. The method according to claim 1, wherein the method further comprises:
when a column adding or deleting request of the target form is monitored, judging whether a row merging cell exists in the selected column;
splitting the row merging cells when the selected row exists in the row merging cells;
and performing column adding or deleting operation according to the splitting result of the row merging unit cells.
7. A form generation apparatus, comprising:
the first acquisition module is used for acquiring a target form, wherein the target form comprises a plurality of cells, each cell is provided with a corresponding form field, and the form field is used for representing a cell input rule;
the response module is used for responding to the input operation of each cell contained in the target form to monitor;
the judging module is used for judging whether the input information accords with the input rule according to the form field of the cell corresponding to the input operation when the input operation of any cell in the target form is monitored;
and the generating module is used for generating the input failure prompt information when the input information does not accord with the input rule.
8. The apparatus of claim 7, wherein the apparatus further comprises:
the second acquisition module is used for acquiring the data identifier contained in the electronic form to be generated;
and the determining module is used for determining the corresponding cell of the data identification position and the form field of the cell corresponding to the data position to be input according to the data identification, and binding the form field with the corresponding cell.
9. An electronic device, comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to cause the at least one processor to perform the steps of the form generation method of any of claims 1-6.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the form generating method according to any of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310273803.3A CN116451666A (en) | 2023-03-17 | 2023-03-17 | Form generation method and device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310273803.3A CN116451666A (en) | 2023-03-17 | 2023-03-17 | Form generation method and device and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116451666A true CN116451666A (en) | 2023-07-18 |
Family
ID=87128023
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310273803.3A Pending CN116451666A (en) | 2023-03-17 | 2023-03-17 | Form generation method and device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116451666A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118312522A (en) * | 2024-04-29 | 2024-07-09 | 重庆兴农智能科技有限公司 | Form generation method, form engine system and server |
-
2023
- 2023-03-17 CN CN202310273803.3A patent/CN116451666A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118312522A (en) * | 2024-04-29 | 2024-07-09 | 重庆兴农智能科技有限公司 | Form generation method, form engine system and server |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108427632B (en) | Automatic test method and device | |
CN112327808A (en) | Automobile fault diagnosis method and system and automobile fault diagnosis instrument | |
EP2778929A1 (en) | Test script generation system | |
CN110717088A (en) | Electronic document-based device management method, apparatus, device and storage medium | |
CN112199093B (en) | Resource checking method, device, equipment and computer readable storage medium | |
CN105225076A (en) | Analysis of prices data Collection & Processing System | |
CN116451666A (en) | Form generation method and device and electronic equipment | |
CN112818937A (en) | Excel file identification method and device, electronic equipment and readable storage medium | |
CN111723515A (en) | Method, device and system for operating operator | |
CN112181836A (en) | Test case generation method, system, device and storage medium | |
CN111026669B (en) | Test log management method, test log management device and storage medium | |
CN112148302A (en) | Interface document generation method, device, equipment and readable storage medium | |
CN110489462B (en) | Method and system for automatically generating data report | |
CN113129469A (en) | Inspection monitoring method and system and computer readable storage medium | |
CN111078518A (en) | Data acquisition method, terminal device and computer-readable storage medium | |
CN115599668A (en) | Interface test case generation method and device and electronic equipment | |
CN112487022B (en) | Method, system, storage medium and electronic equipment for collecting associated data | |
CN110569404A (en) | data comparison method and device, electronic equipment and storage medium | |
CN116679856B (en) | Visual application interface construction method, device, equipment and storage medium | |
CN113468158B (en) | Data restoration method, system, electronic equipment and medium | |
CN117951853A (en) | Energy storage system and configuration method and device thereof | |
CN110879860A (en) | Document management method, system, electronic device and medium | |
CN113095689A (en) | Performance calculation method and device, mobile terminal and readable storage medium | |
CN117271357A (en) | Method and device for testing client management software, computer equipment and storage medium | |
CN116383541A (en) | Content configuration management method, content configuration management system and computer equipment |
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 |