Standalone Form Thank you message won't close/can't redirect user to new page

So I have a standalone form for an online counselling website. The user fills in their symptoms at the booking page. It’s a ‘client information’ form. Once the user submits , a thank you message appears. However it doesn’t close or redirect the user in any way.

How can I solve this? Do I need to add specific code?