Yes, that should do it.
Careful when you're using image type submits, they won't send the name attribute in some browsers and you won't be able to detect the POST. Smashed my head against the desk a few times until I realized it myself.
The workaround for that is to add a hidden type input as well.