I'm currently working on a payment solution using the Typo3-Extension "Powermail". I already added a checkout flow via PayPal. The problem is that you can access this even if the form is not validatet.
Is there a possibility to call the validator or force validation before a submit-button is clicked? (best via javascript) And then ask for the return value (prop. a boolean "true" but I'm not sure) beforer starting the checkout.. I found this online, but I'm not sure how it works or how to call.
*****powermail_validator.data('validator').checkValidity()*****
Thanks in advance!