• JMap.Event.Form.on.submit

    This event is triggered each time a form (or subform) is submitted.

    Parameters

    • listenerId: string

      Your listener id (must be unique)

    • fn: ((params) => void)

      Your listener function

    Returns void

    Example

    // log a message in the console once a form has been submitted
    JMap.Event.Form.on.submit(
    "custom-form-submit",
    params => console.info(`A form has been submitted`, params)
    )