• JMap.Form.getDisplayedFormPhotos

    Returns the photo of the currently displayed form.

    Returns JPhoto[]

    Example

    if (JMap.Form.hasDisplayedForm() && JMap.Form.hasDisplayedFormAPhotoField()) {
    // returns the photos of the currently displayed form
    const photos = JMap.Form.getDisplayedFormPhotos()
    ...
    }