ERROR Error: Uncaught (in promise): TypeError: Cannot read properties of undefined (reading 'split')
TypeError: Cannot read properties of undefined (reading 'split')
at G.getHiddenFieldIds (main.js?v=11.0.2212.30987:1:99529)
at main.js?v=11.0.2212.30987:1:98842
at G.traverseStateAndFormGroup (main.js?v=11.0.2212.30987:1:97438)
at main.js?v=11.0.2212.30987:1:97893
at vendor.js?v=11.0.2212.30987:14:27174
at x (vendor.js?v=11.0.2212.30987:14:14407)
at vendor.js?v=11.0.2212.30987:14:26947
at C (vendor.js?v=11.0.2212.30987:14:42735)
at G.loopThroughChildren (main.js?v=11.0.2212.30987:1:97727)
at main.js?v=11.0.2212.30987:1:97609
at G.getHiddenFieldIds (main.js?v=11.0.2212.30987:1:99529)
at main.js?v=11.0.2212.30987:1:98842
at G.traverseStateAndFormGroup (main.js?v=11.0.2212.30987:1:97438)
at main.js?v=11.0.2212.30987:1:97893
at vendor.js?v=11.0.2212.30987:14:27174
at x (vendor.js?v=11.0.2212.30987:14:14407)
at vendor.js?v=11.0.2212.30987:14:26947
at C (vendor.js?v=11.0.2212.30987:14:42735)
at G.loopThroughChildren (main.js?v=11.0.2212.30987:1:97727)
at main.js?v=11.0.2212.30987:1:97609
at Me (polyfills.js?v=11.0.2212.30987:29:2262)
at polyfills.js?v=11.0.2212.30987:29:2980
at Z.invokeTask (polyfills.js?v=11.0.2212.30987:14:7965)
at Object.onInvokeTask (vendor.js?v=11.0.2212.30987:2071:1669)
at Z.invokeTask (polyfills.js?v=11.0.2212.30987:14:7886)
at Z.runTask (polyfills.js?v=11.0.2212.30987:14:2981)
at pe (polyfills.js?v=11.0.2212.30987:14:10411)
at Z.invokeTask [as invoke] (polyfills.js?v=11.0.2212.30987:14:9162)
at $ (polyfills.js?v=11.0.2212.30987:45:768)
at ie (polyfills.js?v=11.0.2212.30987:45:1182)
I'm using Laserfiche Forms Professional Version 11.0.2212.30987
with Modern Form Designer.
I encountered the above error when I try to submit the form, it only happen like 60% of the time. Sometimes I can submit, sometimes I can not.
I do use JavaScript and hidden fields to populate/update data (since some fields like checkboxes can not be bound with rules).
How can I resolve/suppress this error so the form submission can be more stable?
Things I've tried:
- Disabling Backend Validation (No Validation) but it doesn't work (I was suspecting some of the hidden required fields causing trouble)
- Toggle Required options on hidden fields (doesn't work)