Customize the “Thank You” message as per your need. It can be done with a few simple clicks.

You can save different messages on both the places, then, the After Submit text message will be displayed.

Additionally, if you want to add any additional jQuery on successful form submission, you can add custom code in this block: