I have a form that I would like to make printer friendly in a new popup window. To do this, I would need to pass all form data to the popup. Is there an easy way to do this, like passing the form itself? Any help is greatly appreciated.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
How complex of a setup do you want? Also, are you wanting the popup to appear only after the user submits the form?
One of the easiest ways would be for the popup to access the parent window’s form values directly.
Another, more dynamic way, is to send the form data to the server with AJAX, let the server store it in a session, have the JS open the popup window, and have the popup window be populated with data from session by a server-side language.