John,
I'm not sure it's possible to do what you want - but it might be. I think an example might help in showing what you have in mind.
Remember the update form is called by the _browser_ not the server, so the condition for determining which form to call would need to be done when the data is generated, not when the click happens.
But an example will help understand the problem more fully.
cheers
Bruce