You could accomplish it by simply doing what you said, basically, you have a form that submits a variable to whatever URL, and you have a script that says, if variable exists, use different CSS link, else use regular form. It can get much more complicated, but that is one way.