JMap.Form.resetDisplayedForm
Resets the currently displayed form.
Use JMap.Form.hasDisplayedForm to know if a form is currently displayed.
if no layer is displayed
if (JMap.Form.hasDisplayedForm()) { // reset currently displayed form values JMap.Form.resetDisplayedForm() ...} Copy
if (JMap.Form.hasDisplayedForm()) { // reset currently displayed form values JMap.Form.resetDisplayedForm() ...}
JMap.Form.resetDisplayedForm
Resets the currently displayed form.
Use JMap.Form.hasDisplayedForm to know if a form is currently displayed.