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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T06:12:33+00:00 2026-05-20T06:12:33+00:00

The short version of what I am looking to do is make a safe

  • 0

The short version of what I am looking to do is make a “safe” and idiot-proof page, at least as much as possible.

I have researching the best way to make every hyperlink on a page (ie. standard menus used on the page or any other hyperlinks outside of a HTML form) submit/POST the form information and then redirect to the page clicked on.

For some reason not all users remember the “Save” button before clicking on something else. Then they are upset because they didn’t save their information. I would much rather have all the information be saved before sending them on to the hyperlink’s URL.

Helpful information:
– This is on a PHP based project.
– I have already put in place code to “detect” what kind of page is in use and if the feature is needed.
– I have header() redirects in some places for other items, so that is nothing new.
– I have looked at javascripts to add, when needed, so that the form is POSTed, and found some options for that.

At this point I can’t get the final steps put together, such as a javascript that would POST the information AND store the URL that the hyperlink was supposed to go to. Process the POST information and then redirect to the stored URL.

Dream Example:

onclick="submitformandforward("Example_form", "http://example.mysite.com/example_page.php?querystring=Y")"

Any suggestions, tips, examples, etc are warmly welcomed!

Thanks.

KH

  • 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-20T06:12:34+00:00Added an answer on May 20, 2026 at 6:12 am

    Javascript is the tool you require…

    remember some people may have it switched off…

    Wehn some clicks a link – check that the form values have been altered – if not carry on – if they have inform that that changes need saving…

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

Sidebar

Related Questions

Short version: I'm trying to determine the best way to track what the user
Short Version Is there a way to have visually represented user re-sizable data ranges
Short version: Looking for a method to wait for an Asynch XHR request or
Short Version: I'm looking for a technique to keep nearly-sorted data in nearly-sorted order
Short version: I have a similar setup to StackOverflow. Users get Achievements. I have
Short version: Is it easy/feasible/possible to program modal window in Flash (AS3)? Is there
Short version of what I want to accomplish : I have a foot pedal
Short Version I'm currently looking into an issue with MySQL collations and how they
Short version: How do I make signed URLs on-demand to mimic Nginx's X-Accel-Redirect behavior
Short version: Is there a simple, built-in way to identify the calling view in

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.