How can I customize the success and error messages?

Currently, the success and error messages are directly in the form and need to be adjusted here. An extra PHP file can be created in which these are designed separately. This must then be “required” in the form file.