Hi-
There's probably an error in a rule or a filter somewhere, but it's hard to know exactly without seeing the form.
I'm attaching a sample form that hopefully helps guide you on how to implement this.
Download the XSN, then right click on it and select Design. That way you can inspect the logic. Then Preview to see it in action.
Good luck!