https://github.com/paralin/copyformdata
An example of how to copy data from one form to another form (in a different page) using jQuery.
https://github.com/paralin/copyformdata
Last synced: 2 months ago
JSON representation
An example of how to copy data from one form to another form (in a different page) using jQuery.
- Host: GitHub
- URL: https://github.com/paralin/copyformdata
- Owner: paralin
- License: mit
- Created: 2013-02-06T00:18:56.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2014-05-10T19:57:05.000Z (almost 12 years ago)
- Last Synced: 2025-03-10T22:48:33.236Z (12 months ago)
- Language: JavaScript
- Size: 112 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
Copy Form Data
============
Stack overflow question: http://stackoverflow.com/questions/14695651/javascript-copy-form-from-one-page-to-another-form-on-another-page/14695703#comment20584517_14695703
The question is how one can have a form and copy the values entered into that form into the fields on another web page. The most simple way shown here is to load the other webpage, hide it, and show the custom form while it is loading. When the user submits the custom form, it will show the original form and insert the data into that form, and hide the custom one.
Method:
1. Hide the "original form" container.
2. Download the original form while the user fills out the custom form. When done, fill the container with the downloaded data.
3. When the user submits the custom form, hide it, and show the original form, and fill in the values from the custom form