I am trying to pass data from one page form to another page form. I can't use any server side script. So please help me in doing so. I am pasting my code below.
PAGE 1 CODE:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
</head>
<body>
<form action="" method="post">
<input type="text" name="name" placeholder="Name" required />
<input type="email" name="email" placeholder="Email" required />
<input type="number" name="subject" placeholder="Contact No." required />
<input type="text" name="subject" placeholder="Address" required />
<input type="text" name="subject" placeholder="Pin Code" required />
<button id="btnClk">Place your order</button></form>
</body>
</html>
PAGE 2 CODE:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
</head>
<body>
<input type="text" name="name" placeholder="Name" required />
<input type="email" name="email" placeholder="Email" required />
<input type="number" name="subject" placeholder="Contact No." required />
<input type="text" name="subject" placeholder="Address" required />
<input type="text" name="subject" placeholder="Pin Code" required />
</body>
</html>
As you can see 2nd page code is just same as of 1st page and i haven't written anything as i don't know how to dot it. I want that if user fills form on 1st page its detail also gets updated in the form that is on 2nd page and then user will get an option to confirm those details or edit it. Please help me in achieving this result.