Pass data from popup to landing page form

How do I have a popup on the homepage that only asks for an E-Mail address, then passed to the form on the landing page after pressing submit?

Hi Martin,

Where do I put this code?
How do I use it with the infusionsoft wordpress plugin opt-in popup?