I don't understand this tabbed search form
I'm trying to make a tabbed search form like in this tutorial but I'm having some trouble understanding how.
How would I go about adding different form actions while keeping them hidden, so that only one search form is showing?
For instance: Let's say I wanted to have the search form on WEB to search Google (I can set up the form) but how do I make it so the action changes when you click on IMAGES (let's say I wanted it to search Google Images - again, I can set up the form for that, but how do I make it so the action changes when clicking the tab?)
Everything I've tried just creates another search form box, which definitely means I'm doing something wrong.