Question: what is gsftsubmit in servicenow?
Answer: Passing Action name as parameter in gsftSubmit ensures the Client side validation to move ahead. ... getFormElement(), "ui action id") triggers the UI Action which is specified in the 3rd parameter, which is the action name/element id. It is mostly used in UI actions that have a client side and a server side script.