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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T19:55:41+00:00 2026-06-02T19:55:41+00:00

When my clients submit a form and get an error they’re taken to a

  • 0

When my clients submit a form and get an error they’re taken to a page with a link to go back. I’m using javascript:history.go(-1) to go back to the form.

I’m loosing my css functionality with background changes and colors, etc. of the form when the client goes back.

I don’t want the client to have to re-type everything agian with a refresh.

Is there a way to avoid this?

  • 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-06-02T19:55:43+00:00Added an answer on June 2, 2026 at 7:55 pm

    Why don’t you save all the Data entered in the PHP Session, and (instead of history.go(-1)) Place a link to the Form again, where you check if there are values in the session, and write them in the Form-Field with PHP?

    Something like

    $_SESSION['name']=$_POST['name']
    

    and backwards..

    You could even do that without showing an error Page, and displaying the error on the form itself…

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

Sidebar

Related Questions

I have some clients who are not English speaking. They would like the JavaScript
I'm trying to stop a submit form with Javascript/jQuery, with a: $('form#checkRepair').submit(function() { return
I get this error... Parse error: syntax error, unexpected '{', expecting '(' in /home/content/s/k/y/skyview09/html/clients/Cheryl/admin/admin.php
I am getting this error in my asp.net page: A potentially dangerous Request.Form value
When submiting a $_POST['form'] I'll get a timeout error if idle for more than
At work, we have a client-server system where clients submit requests to a web
I have clients who still using dot matrix for making copies of printed documents
I built contact form in aspx 3.5 and I'm using jQuery to send it
I am getting an error when I try to wrap a submit button with
when I try to launch my PHP script, I get this error: [error] [client

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.