I don't believe there's anything out of the box in InfoPath to allow you to do this. You would have to write custom code, or use a third party tool like qRules. Here's a previous discussion that might shed some light on how to do this using qRules.
http://www.infopathdev.com/forums/t/18377.aspx
Hope this helps!