The HTML form element or form field settings.
An array of serialized form inputs.
const formElement = ix.api.dom.getHtml("<FORM-GUID>"");
const serializedForm = ix.api.dom.serializeFormAsArray(formElement);
// Example output of the serialized form:
// [
// { form: 'myForm', name: 'username', value: 'john_doe' },
// { form: 'myForm', name: 'password', value: 'secret_password' }
// ]
Serializes form fields into an array of key-value pairs.