How to pass an input value from a small form into a big form? (PHP, Javascript, URLs)
- by sarahdopp
I have a Wordpress website that needs to display a 3rd party newsletter signup form. This sign-up form has lots of fields and takes up its own full page.
I want to display a simple "enter email address, hit submit" form at the top of every page. When the user hits submit, it should take them to the full form, where their email address is already pre-populated in the appropriate field.
What's a good way to pass the input value from the short form to the long form? I'm inclined to use the URL somehow, but I've never approached it before.
(My skills: expert XHTML/CSS. competent with WP theme hacking. comfortable enough with PHP and Javascript to move things around, but not enough to write them from scratch.)
Thanks!