I have a form, split into two pages, 1 and 2. The first two fields of the form are on page 1 and are validated externally through a lookup snippet. If they're validated, the user clicks a link to page 2 to complete the main form. (If they're not validated then the user needs to try again with different values or simply print out a form and post it.) So far, so good, works fine. But when the user's values validate, I want auto-populate the form on page 2 with the two values they've already entered on page 1. How do I do that?
Formit Retriever seemed the obvious way, but it only works from a formit redirect. I have the values I need from the lookup snippet and I can stick them in a placeholder, but they're temporary. They show up through a chunk on page 1, but are just blank when I access them on page 2.
So I'm thinking that I need to save the values as a session variable in the first lookup snippet, then in the form field on page 2, access a snippet that will lookup the saved session variable? Or something like that. Can someone help? It seems rather a simple thing to achieve, pass values from one form on one page to another form on a second page but I'm struggling.