Customize the “Thank You” message as per your need. It can be done with a few simple clicks.
You can save different messages in both places, then, the After Submit text message will be displayed.
Additionally, if you want to add any additional jQuery on a successful form submission, you can add custom code in this block: