Method, device and system for realizing advanced control of dynamic form
A technology of dynamic form and implementation method, which is applied in software engineering design, instrumentation, calculation, etc., and can solve the problems of traditional form constraints and inability to meet user needs, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
specific Embodiment 1
[0049] Such as figure 1 and figure 2 As shown, the embodiment of the present invention provides a method for realizing an advanced control of a dynamic form, including:
[0050] Script storage step S101:
[0051] Step S1011, setting the data structure of script storage; the fields in the data structure include script type;
[0052] Step S1012, receiving the script input by the user into the dynamic form as the input script;
[0053] Step S1013, according to the script type, invoke an executor corresponding to the script type to execute the input script, verify the validity of the input script, and obtain a verification result; the verification result includes legality and illegal;
[0054] Step S1014, when the verification result is legal, save the input script as a legal script;
[0055] Script execution step S102:
[0056] Step S1021, writing html to realize input control;
[0057] Step S1022, implement ajax according to the input control, and obtain a script executi...
specific Embodiment 2
[0065] Such as figure 2As shown, the embodiment of the present invention provides an advanced control implementation device for a dynamic form, including:
[0066] The script storage module 201 includes:
[0067] The setting unit 2011 is used to set the data structure of the script storage; the fields in the data structure include the script type;
[0068] The input unit 2012 is used to receive the script input by the user into the dynamic form as an input script;
[0069] A verification unit 2013, configured to call an executor corresponding to the script type to execute the input script according to the script type, verify the validity of the input script, and obtain a verification result; the verification Results include legal and illegal;
[0070] A saving unit 2014, configured to save the input script as a legal script when the verification result is legal;
[0071] The script execution module 202 includes:
[0072] The writing unit 2021 is used to write html and re...
specific Embodiment 3
[0080] Such as image 3 As shown, the embodiment of the present invention provides a dynamic form advanced control implementation system, including:
[0081] The device 301 for realizing the advanced control of any one of the dynamic forms in the second specific embodiment;
[0082] The server end 302 is used to be invoked by the judging unit to judge whether the script execution request is configured with a dynamic script, obtain the judging result and send it to the judging unit;
[0083] The executor 303 is configured to be invoked by the verification unit to execute the input script, verify the validity of the input script, obtain a verification result and send it to the verification unit; and be invoked by the execution unit to execute the input script. For legal scripts, obtain the script execution results and send them to the execution unit.
[0084] Preferably, this embodiment of the present invention may further include a memory 304, configured to store the legal sc...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


