you handle this be setting the redirects in the behaviors that process the form.
form example, if you have the Server Validation behavior applied, you can use the validation show if behavior to show error messages when the form does not pass validation.
If you are using an insert record behavior, this will only occur if the validation has passed., set it to redirect to a success page where you show the user a success message.