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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T07:30:51+00:00 2026-05-28T07:30:51+00:00

I have a multi-paged forms and I need to get all the data from

  • 0

I have a multi-paged forms and I need to get all the data from the forms. I know I can do this manually but I want a more dynamic approach. Yeah, if possible, please give me an answer using javascript only.

Edit…
I’m sorry if it was somewhat vague.
What I want to do is to present to the user all the data he entered, so i think this is client-side not server-side. Also, I have installed PHP now. So, if there’s a PHP way, then that’s also ok.

It’s multi-paged because the user will jump from different web-pages because it will be very long if the user will input all the data in just one page. Hmmm… an example would be a tax-filing form. Or some kind of census. That’s how long the form is and the amount of data I have to get. So, I want to know a dynamic way to do it.

I’m still not finished. Thanks to the comments below. I have tried them and some are beneficial.

  • 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-28T07:30:52+00:00Added an answer on May 28, 2026 at 7:30 am

    Ok, I think I have solved my problem. This is how I did it.

    First, instead of using multiple pages, I used hidden divs and make it visible as the user clicks the next page and make the present form hidden.

    Then, I learned that I can access all the data by using this code:
    var value = document.forms[formname].elements[index].value;
    and put it inside a loop

    and then process it all by:

    <?php 
    if (!empty($_POST['form1'])) {
        //do some sever-side processing and validation;
    }
    
    if (!empty($_POST['form2'])) {
        //do some sever-side processing and validation;
    }
    
    .....
    ?>
    

    Thanks for all the help btw.

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

Sidebar

Related Questions

I have a multi-lingual page where I want to display form validation error in
Modern browsers have multi-tab interface, but JavaScript function window.showModalDialog() creates a modal dialog that
I have a multi-line string that I want to do an operation on each
I have a multi-table query, similar to this (simplified version) SELECT columns, count(table2.rev_id) As
I have a multi-user ASP.NET app running against SQL Server and want to have
I have a multi-timezone web application that stores all of the datetime values in
I have a multi-threaded Windows application that occasionally deadlocks. Inevitably this happens on a
I have decided to use ASP.NET MVC to develop multi page (registration) forms in
I have a multi-page PDF file that has information I need to parse. The
I have a form where fields get added via JavaScript. This is fairly easy

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.