Your listener id (must be unique)
Your listener function
// log a message in the console once the application is loaded
JMap.Application.Event.Form.on.autoSubmit(
"custom-auto-submit",
() => {
console.log(`Auto form submit has been requested`)
}
)
JMap.Application.Event.Form.on.autoSubmit
This event is dispatched to trigger an automatic submission of the currently displayed form. For internal use only.