• JMap.Form.canDeleteElementOnForm

    Returns true if current user can delete element on the given form.

    Parameters

    • params: JFormId

      parameters needed to identify the form

    Returns boolean

    Example

    // returns true if current user can delete element on form id=1 of layer id=3.
    JMap.Form.canDeleteElementOnForm({
    layerId: 3,
    formId: 1
    })