• JMap.Form.resetDisplayedForm

    Resets the currently displayed form.

    Use JMap.Form.hasDisplayedForm to know if a form is currently displayed.

    Returns void

    Throws

    if no layer is displayed

    Example

    if (JMap.Form.hasDisplayedForm()) {
    // reset currently displayed form values
    JMap.Form.resetDisplayedForm()
    ...
    }