• JMap.Application.Event.Form.on.autoSubmit

    This event is dispatched to trigger an automatic submission of the currently displayed form. For internal use only.

    Parameters

    • listenerId: string

      Your listener id (must be unique)

    • fn: (() => void)

      Your listener function

        • (): void
        • Returns void

    Returns void

    Example

    // 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`)
    }
    )