Thanks for all the help. I actually got it to work by using (bows his head in defeat) JavaScript. I made a javascript button for the form submission and used the location.search command combined with document.write to put the query in the form as hidden text.