By default, the form is not cleared after the submit. So if you don’t have a display action and the user is sent back to the form page, it’s still filled with the data entered. If you want to avoid this, add a reset action:
Going to a thankyou page is a display action, therefore reset is not appropriate.