Roadflow the generated form, the Ueditor editor cannot make a bug modification with non-null validation:
1. Modify the controller: Workflowformdesignercontroller red box:
2. Modify JS file: Scripts/roadui.init.js
3. File modification: Scripts/flowrun/forms/common.js
Add the following to this case:
Case "flow_html": if(Filedshow = =0{$control. html (initvalue); } Else if(Filedshow = =1{$control. After ('<span>'+ InitValue +'</span>'). Remove (); } Else if(Filedshow = =2{$control. Remove (); } if(1==Filedcheck) {Validate="Canempty,"+ (Validatetype | |"Empty"); } Else if(2==Filedcheck) {Validate= Validatetype | |"Empty"; } Break;
The Ueditor Editor's non-null validation is done by following the above changes and then republishing the form:
. NET open source Workflow Roadflow-bug Modify -1.8.2 form validation when ueditor edit non-null validation is not valid