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 453671
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T22:11:43+00:00 2026-05-12T22:11:43+00:00

I hope this makes enough sense and someone can give me some feedback on

  • 0

I hope this makes enough sense and someone can give me some feedback on this
My problem is how to get back to the same form on errors found, but with the error values in place.

As you would normally postback to the same script and set the variables as you go.
Now I am in the situation, that when I do the validation and try to show the same form but with the errors, I get a page/view within a page/view.

I sort of get where this is coming from, but I haven’t found a solution yet, besides creating a different view that has the same contents, but is a different file. The latter seems redundant.

BACKGROUND:

All controllers extend the basecontroller that creates the main view.
All other views/files deliver their content to the mainview $content variable.

thanks, Richard

  • 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-12T22:11:43+00:00Added an answer on May 12, 2026 at 10:11 pm

    As an alternative to what you do, you can use sessions to store your error messages and redirect the to the same page and showing errors by reading from session again. On success, you should delete all error sessions.

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

Sidebar

Related Questions

hope to get some help here because this is something that really makes me
Hope that someone out there can help with this! I'll give an example based
Hope this makes sense... Is there a simple way to return a set of
I hope this makes sense, I am trying to store a SQL Server 2008
I thought that this would be simple enough, but I just can't get my
I hope this makes sense. I have a ASP.NET web application that uses Entity
I'm not a a very experienced Windows developer, so I hope this all makes
I hope this doesn't get closed due to being too broad. I know it
Hope this is clear enough: class myParent(): def __init__( self ): self.parentNumber = 5
Hope this question is not stupid since I am an amateur web designer. 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.