• JMap.Form.getActiveTabIndex

    Returns the active tab index.

    If no form, or sub form is displayed, returns 0.

    Returns number

    Example

    if (JMap.Form.hasDisplayedForm()) {
    // reset currently displayed form values
    const currentTabIndex = JMap.Form.getActiveTabIndex()
    ...
    }