Client side user-friendly worksheet generating method and storage medium
A storage medium and client-side technology, applied in the fields of instruments, electrical digital data processing, computing, etc., can solve the problems of time-consuming and labor-intensive, no technical content, and inability to freely change according to needs, so as to improve flexibility, save physical labor, The effect of improving development efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0080] This embodiment provides a method for generating a client-defined form, which optimizes the generation method of the client (mobile terminal) form UI, avoids repeated code accumulation and unnecessary manual labor, and achieves development efficiency and code reuse capabilities Significantly improved, but also improve the flexibility of form configuration, to achieve dynamic configuration form content.
[0081] The method of this embodiment includes:
[0082] S1: The form configurator adds form configuration on the server, generates form data, and the corresponding form ID (formId).
[0083] Optionally, the form data includes the type of the form list, and each type includes a data verification method (whether it is required, data format regularity judgment, data dictionary, etc.). That is, the form json data contains relevant verification information.
[0084] Wherein, the form data is preferably json format data, the json data format is relatively simple, easy to re...
Embodiment 2
[0109] This embodiment corresponds to Embodiment 1, and provides a specific application scenario.
[0110] The application scenario of this embodiment is the realization of a real-name authentication form.
[0111] Background: Many software or systems require users to use real-name authentication before they can be used. At this time, users need to fill in a form and submit it to the background for judgment of real-name authentication. The content of the form usually includes name, mobile phone number, ID card (number and front and back photos), nationality, name, date of birth, occupation, etc. When setting the form in the background, the attribute requirements for these form items may be inconsistent, and the order of arrangement is verified. The rules and so on are different. At this time, the rendering and submission scheme of the custom form can solve this problem very well.
[0112] Implementation steps:
[0113] The form configurator configures and generates the real-...
Embodiment 3
[0120] This embodiment corresponds to Embodiment 1, and provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the following steps are implemented:
[0121] Form data and its corresponding form ID are generated at the server configuration; wherein, the form data includes the type of each form item in the form list, and the type includes a corresponding data verification method; the data verification method includes whether it is necessary Filling and data format regular judgment, data dictionary;
[0122] The client requests the corresponding form data from the server according to the form ID;
[0123] The client parses the received form data and renders the corresponding form list;
[0124] The client receives the user's operation corresponding to the form list, generates form user data, and submits it to the server;
[0125] The server generates a form user data ID corresponding to the form user data....
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com



