I am using Infopath 2010 and I have a form that has three views. When the first person clicks the submit button (rules and code with a rule to submit data to an email address) it closes and sends to the next person who has the second view and then the same process happens again. All the buttons are rules and code. I have turned off "Allow users to submit." In outlook, when the first user fills out the form in the first view there is no submit button in the ribbon and it emails to the right person and closes as it should. Everything is as planned. I don't know if it matters but this is not the default view. "Save and Save As" are also turned off.
The problem arises in the second and third views. In the second and third views the submit button shows up in the ribbon (it has an error when you click it) and if you exit it asks you if you want to submit the form which would just confuse things for the user. If I allow users to submit and uncheck the submit button on the ribbon function the button doesn't show up but it still asks you if you would like to submit. All I want is no submit button in the ribbon and no asking if I want to submit. It works on the first view so I don't see why it shouldn't on the others. If anyone has any ideas on how to remedy this I would appreciate it. I realize I might just have to add some sort of actual submit button but the form should work as it is.