The problem is then you need JavaScript. Unless you want to show all of the form fields, all the time, on every page.
Edit: You could probably hack around this with some CSS, but only relatively recently and browser support could be a challenge.
Edit: You could probably hack around this with some CSS, but only relatively recently and browser support could be a challenge.