changing navigation based upon input text field
I would like to change navigation based upon the value of an input text field. I tried to put the value of the text field into a variable (on mouseout, or change, or other event), then change where the submit button is linked to based upon the value of this variable (which I'm using in other places too) but it doesn't seem to set the variable. It only sets it on "onUnload". What am I doing wrong?