Post form submission page

Hi all :slight_smile:

I am wondering what would be the best practice for a post form submission page.

When people use my contact form they are redirected to a page thanking them for leaving a message.
Should this page be a private page (/p/ url) or a normal one excluded from search engine using robots.txt?