params which identify the entries
if layer not found, if form not found, or form is not an external or sub form
// returns entries form data for layer id=3, form id=4, and elements id=5
JMap.Form
 .getEntries({
   layerId: 3,
   formId: 4,
   elementId: 5,
   parentId: 2,
   parentFormAttributesValuesByName: { jmap_id: 2, name: "Yellow" },
 })
 .then(entries => console.log("Entries:", entries))
 .catch(error => console.error("An error occurred when getting entries data", error))
JMap.Form.getEntries
Returns form data of multiple entries from given parameters.
Works only for external and sub forms.