Passing a post variable to a global variable with a "Select" button
Posted on 2012-09-04
I have a page that ask the user to select a "Print Format". I also have a global variable called "P_Format". The page basically looks like this:
O Format # 1
O Format # 2
O Format # 3
What I would like to do is change the global variable to what ever the user selected and return to the page that called it. Since this "Print Format" page will be called from multiple other pages, I'm not sure how to do it. I know how to go back to the calling page, but how do I query the radio buttons and set the global variable when the user presses "Select"?