n-returns"><span class="qm-api-type"><a class="qm-api-type-link" href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object">Object</a></span></span></span><span class="qm-api-header-tags"></span></div></div></div></div><div class="qm-api-collapsible-content"><div class="qm-api-item-content"><div class="qm-api-description"><div class="qm-html-paragraph">A helper function for validating forms. By default, it will show a message below the first error in the form but will return an