I want to automatically trigger a button/submit a form, which is using the XenForo AutoValidator.
However, I want to "catch" the error, so it does not show the error overlay it usually does if an error happens.
The aim is to hide the button, so that the "form confirmation" happens automatically and users do not need to click any button.
XenForo's obfuscated/minified JavaScript code makes it hard to find out what needs to be done to achieve this.
For the curious: The form I am handling is the Tfa/2FA form with the submit button.
So how can I do this?
However, I want to "catch" the error, so it does not show the error overlay it usually does if an error happens.
The aim is to hide the button, so that the "form confirmation" happens automatically and users do not need to click any button.
XenForo's obfuscated/minified JavaScript code makes it hard to find out what needs to be done to achieve this.
For the curious: The form I am handling is the Tfa/2FA form with the submit button.
So how can I do this?
Last edited: