Add Cancel button to InfoPath form

Add Cancel button to InfoPath form

When you look at the standard available options for buttons in InfoPath (Submit, Update form and Rules and Custom code)  you would think that there’s also an Cancel option by default.
There is no Cancel button by default, you can however create this within two minutes.

  1. Drag a new button on the form and select it.
  2. Select in the menu bar the tab CONTROL TOOLS PROPERTIES.image
  3. Rename Button to Cancel in the field Label.
  4. Click  Add Rule, a menu is shown. Select When This Button is Clicked, a new menu appairs. Select and Click Close Form. image
  5. Confirm that you want the form to be closed by clicking OKimage

And that’s it. You’ve created your own Cancel button within 2 minutes.

Leave a Reply

Your email address will not be published.