AEM forms - check form validation status
Hello,
I am learning features available in the AEM forms. I am building a form that consist of multiple panels and I would like to show the submit button only if all required fields are valid.
I can see that there is an API that allows to validate form using `guideBridge.validate()` which will return true/false but this also changes the form (invalid fields are marked as invalid). Is there a function that can check if form is valid without actually changing form fields? I wonder how I could dynamically show/hide submit button based on the status of the for.