the validation behavior needs to be applied to the page that the form is being posted to.
if the action of the form is to post to another page, you need to add the validation to that other page, this is very similar to validating the eCart checkout form which posts to the confirm page, see this thread for details:
showthread.php?t=21834