How to do validation when submitting multiple forms on a page via an external button?

I placed the main elements (input fields) inside the form container, everything works, even validation (e.g. no “save” is performed if required fields are not filled).

However, as I noted above, I have a Tabs component (it is of course placed inside the form container). The input fields are accordingly placed in different tabs. When submitting a form, if the field is in an inactive tab (i.e. the input field is visually hidden), validation is not triggered (e.g. if the input field must be filled in) and the workflow of saving (adding/modifying) the record is successful. However, I need the validation to run in all tabs when the workflow starts (when submitting a form) (so that the workflow does not run if the validation fails). How can this be configured? Are there any inbuilt ways, or do I need to do some specific functionality so that at the moment of sending all tabs are checked, not just the active one ?