from one form to another

Posted on 1998-09-23
Medium Priority
Last Modified: 2011-09-20
I have a form with questions on it that a user will answer.  When that form is submitted I would like some of the answers to be preloaded on the form it is submitted to for the user to view and validate.

1)Can not use CGI !
2)Prefer to not use cookies.
Question by:craigs052998

Expert Comment

ID: 1838074
If you can't use CGI, I think your only other option is JavaScript.

Author Comment

ID: 1838075
I am working on the javascript idea already I want to know if it can be done any other ways.

Accepted Solution

rafistern earned 150 total points
ID: 1838076
Two methods.

1. Use cookies.

2. Create a frameset with two frames divided 100%,0%. i.e. the second frame is invisible. You can then put Javascript variables or hidden fields on the hidden page to store the data entered on the first form. When the second form is loaded it then updates its fields from the hidden page.

Transfering the contents of the fields as a "search string" to the second html page as part of the URL will generally not work and give a page not found error.
LVL 19

Expert Comment

ID: 1838077
javascript would be the easiest way to go.  Use frames and js and you should be
able to do it.  No need to make a hidden frame though.


Author Comment

ID: 1838078

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question