Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3225862
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T16:23:19+00:00 2026-05-17T16:23:19+00:00

I am implementing a multi-page form and I want the user to be redirected

  • 0

I am implementing a multi-page form and I want the user to be redirected to the same page if there is a validation error on a form, rather than the model’s edit/new page. To get around this, I updated the controller action for the model so it redirects if the instance can not be saved. However, in doing so the error messages are lost – is there a way to redirect and include the generated error messages?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T16:23:19+00:00Added an answer on May 17, 2026 at 4:23 pm

    Generally while dealing with error on forms, people use to render on save errors and redirect on save success. If you render, your errors and flash will be kept.

    You just have to make sure that all instance variable needed in each of your pages are set in the controller doing the render.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using GAE Java for a multi-user application. There are multiple users with
I am implementing a real time - multi user voice transfer application for Android.
Implementing Equals() for reference types is harder than it seems. My current canonical implementation
Currently, I am implementing a multi-thread project using std::thread in C++11. I use std::condition_variable
I am still learning .NET framework and I want to implement multi-tier application just
Given multi-tenant application, How are vendors implementing email notifications from an email account setup
I'm implementing StructureMap in a multi-tenant ASP.NET MVC application to inject instances of my
When implementing HTTP services in node.js, there is a lot of sample code like
I am currently implementing a multi-select ListView for my android app. My aim is
in crystal report we can implementing left to right multi-column by default but i

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.