How to make email sending conditional?

jenz5s 13 Jun, 2012
I have a contact form with a "send a copy to yourself" checkbox and an optional email field. How do I make the email action run only if the person has checked "Send me a copy"? I'm sure there's an easy way but I just can't figure it out.

Thanks in advance for your help.
This topic is locked and no more replies can be posted.