the redirect is done in the server behaviors that process the form information.
for example, if you are storing the information in the database using the insert record behavior, you set the redirect in the insert record behavior so that after the record is inserted, the page is redirected.