I am trying to build a page that allows the user to select multiple tasks. Each task has a form attached to it. I am using the include in my logic to determine which forms are needed. That all works fine, but I do have one problem.
If the user enters data into formA but NOT fromB and submits the data, the data is sent via email. (no databases needed). And vice versa. However, if they only fill in one form hit submit and then fill in the other form and hit submit, a duplicate email is sent.
I am trying to figure out how to unset or destroy the first form so that it isn't sent over and over.
Any ideas or suggestions???