There are two types of valves that you can use. One has a float on a threaded rod, just like the old toilet tank valves used to. When the water gets to the top of the tank, the float raises the lever and shuts off the flow valve.
The other type has no moving parts, and is the type I went with. It is called a Hudson float valve, and you can get them at espec for $30.00. The reason you don't want the float type valve is that you will have this lever arm bouncing up and down all day long as you drive around...more likely to break.
Either way, this is how I set mine up. I drilled a hole in the top of the tank just large enough to accomodate a short piece of 3/4" PVC pipe, about 2" long. I stuck this pipe through the hole, and on the end inside the tank I glued a male garden hose fitting. That's the end the hudson float valve screws onto. I made this fitting flush with the inside top of the tank. On the end of the pipe sticking out of the tank, I glued a female garden hose fitting. This is where the hose from the hose reel screws onto. Now, when the tank gets full, the water shuts off!
I know what you mean about overflows, it's a pain! I had a hard time trying to guess when my tank would overflow, or when I'd run out of water. Now no worries...I just have a 2" dump valve on the tank and can drain it in a couple minutes when its time to head home.