Notifications

11 views

Symptoms


When using the save or submit UI Actions the form is not being saved.

The dev tools console has this error. 

Uncaught TypeError: f.submit is not a function
at gsftSubmit (js_includes_doctype.jsx?v=06-21-2018_1724&lp=Wed_Sep_05_01_48_15_PDT_2018&c=7_62:8379)
at eval (eval at execute (js_includes_doctype.jsx?v=06-21-2018_1724&lp=Wed_Sep_05_01_48_15_PDT_2018&c=7_62:7735), <anonymous>:1:1)
at execute (js_includes_doctype.jsx?v=06-21-2018_1724&lp=Wed_Sep_05_01_48_15_PDT_2018&c=7_62:7735) 

 

This may only happen if the Variable Editor is on the form since that is one way that macros are loaded onto the form.

 

Cause


A UI Macro is overwriting the default submit() function on the form.

This will have id="submit" in the XML

Resolution


Check the sys_ui_macro table where XML contains id="submit"

 

Article Information

Last Updated:2018-11-05 02:36:34
Published:2018-11-02