The HTML element (form or text area) to search for input fields.
Returns true if all input fields are empty or not visible, otherwise returns false.
var formToCheck = ix.api.dom.getHtml("<FORM-GUID>");
var empty = ix.api.confirm.fieldsAreEmpty(formToCheck);
console.log(empty); // true or false
Checks if the input fields within a form or text area are empty or not visible. This function is useful for validating form data before submission.
The following fields are checked: