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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T16:11:41+00:00 2026-05-29T16:11:41+00:00

I have a total of 3 pages; form elements are distributed among two pages,

  • 0

I have a total of 3 pages; form elements are distributed among two pages, “eg1.html” and “eg2.html”, but the form elements are submitted to “eg.php”.

Here is the code for eg.php:

$size=$_POST["fontsize"];
$label=$_POST["label"];
$age=$_POST["age"];
$sex =$_POST["sex"];

code for eg1.html

 <html> 
 <body> 
 <form action="eg.php" method="post"> 
 <input type="radio" name="fontsize" value="3"/> 
 <link to eg2.html>
 <input type="radio" name="label" value="stacks"/> 
 <input type="submit" name = "down" value = "down"> 
 </form> 
 </body>

code for eg2.html

 <html> 
 <body> 
 <form action="eg.php" method="post">
 <input type="radio" name="age" value="18"/> 
 <input type="radio" name="sex" value="female"/> 
 <input type="submit" name = "down" value = "down"> 
 </form> 
 </body> 
 </html>

I have added a link to eg2.html in eg1.html. That means that first the user will open eg1.html; he will select the form elements before submitting the form elements he will be provided with a link to eg2.html; once he clicks on the link, he will be redirected to eg2.html.

In eg2.html he should be able to select other form elements, and after selecting he will be redirected back to eg1.html, where he will be able to submit all form elements to eg.php [which includes both eg1 and eg2]

I have seen many websites using this tecniques.

  • 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-29T16:11:42+00:00Added an answer on May 29, 2026 at 4:11 pm

    Depending on how you want to handle this, you can

    1. Let the server cache the first half of the response
    2. Pass the data along to the second page to be submitted together
    3. Put them in 1 page, and make it look like 2 pages

    To cache on the server, you’ll probably need to use temp files or a database. This is very cumbersome, but the upside is that the user can do half of it, go for dinner, and come back to continue.

    To pass the data along to the second page, you can choose to attach that information in the link provided to the next page, using location.hash. Alternatively, you can use cookies.

    The third one is also relatively easy to accomplish. Use divs or iframes for each page and have the top document hold the data.

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

Sidebar

Related Questions

I have two fields which calculate a total, but I have a radio button
I have two models pages and author, here is the code of model pages:
I currently have pagination functionality that displays the total page count, but I was
Note sure how to explain this clearly but here is the problem: I have
I have a form that calculates a total number using Javascript. The code for
I have three simple html or php file that I'm going to create. What
I have a PHP form which posts any number of records for the following:
In a nutshell on page1.php I have a calculator that consists of an HTML
I currently have a page setup like this: PHP Variable Declarations HTML header, then
I currently have a page setup like this: PHP Variable Declarations HTML header, then

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.