Two Forms Server Action Logic

Have you seen this thread? Seems to be what you need possibly.