This filter is available just before rendering the submit button. You can use this filter to hide the submit button.
This code should be placed in the functions.php file of your active theme.
Source Code #
This filter is located in app/Services/FormBuilder/Components/SubmitButton.php