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

  • Home
  • SEARCH
  • 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 7503413
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T21:12:54+00:00 2026-05-29T21:12:54+00:00

This question is similar to my previous question but not the same … please

  • 0

This question is similar to my previous question but not the same … please check out….I am using totaly 3 webpages; form elements are distributed among two pages, “eg1.html” and “eg2.html”, but all the form elements should be submitted to “eg.php”.

 Here is the code for eg.php which accepts the form elements from both eg1.html and eg2.html:

 $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"/>   
 <a href="eg2.html">click here to select other options which includes age and sex</a> 
 <input type="radio" name="label" value="stacks"/>   
 <input type="submit" name = "down" value = "down">   
 </form>   
 </body>

 Now What would be the code for eg2.html? just check out sample partial html code :but needs to be compleated....

<input type="radio" name="age" value="3"/>   
<input type="radio" name="sex" value="female"/>   

The code should work exactly like this:
First user will open eg1.php he selects only one option that is “fontsize” .. next he clicks on the “link to eg2.html” to select two more options “age” and “sex” after selecting… he will be redirected back to eg1.php where he has to select one more option that is “label” … then he will submit the form to eg.php. Which will hold all form elements those are ‘fontsize’ ‘age’ ‘sex’ and ‘label’ …..
I have seen many website using this technique please check out cooltext.com where user will get an option to click on the font image which will redirect him to fonts page after selecting one of the fonts images he will be redirected back to homepage,where he can select some other form elements or form elements and finally submits the form …. i have also seen many websites using this technique , i think this can be done using JQUERY/JavaScript but not sure …please help me to fix this problem guyz,.,,,

  • 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-29T21:12:55+00:00Added an answer on May 29, 2026 at 9:12 pm

    Using js you can have the entire form on one page and divide it in steps like this

    <form action="eg.php" method="post">
    <div class="step1">
      <input type="radio" name="fontsize" value="3"/>   
     <a href="#" id="step1_submit">click here to select other options which includes age and sex</a> 
     <input type="radio" name="label" value="stacks"/>   
     <input type="submit" name = "down" value = "down"> 
    </div>
    <div class="step2">
    <a href="#" id="step2_back">click here to go back to step1</a> 
    <input type="radio" name="age" value="3"/>   
    <input type="radio" name="sex" value="female"/>   
    <input type="submit" value="Submit"/>   
    </div>
    </form>
    

    js:

    $('#step1_submit').click(function(){
      $('#step1').hide();
      $('#step2').show();
    });
    $('#step2_back').click(function(){
      $('#step1').show();
      $('#step2').hide();
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know this question is similar to several previous ones, but I can't find
This is similar to a previous question , but the answers there don't satisfy
This is very similar to a previous question (and may be the exact same
This is similar to this question , but I wanted to flesh it out
I asked a similar question like this yesterday but after waiting for ever I
In similar vein to this previous question , I a looking to implement user
I realize that there was a similar question asked here , but this is
I asked a question similar to this one a couple of weeks ago, but
This question is based on a previous similar question. I have the following equation
This looks very similar to my previous question because it's some sort of follow

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.