This example creates a hidden form input and submits the data to the next page.
Check out the source code.