In Infopath form we place a button as "close" for that we need same functionality of "Close" button behaves in browser enabled infopath form using code or script.

Scenario: After opening an Infopath form and click on close button it asks by default "Do you want to save or close" as popup, dependent on selection its working.

Needs same functionality in Close button.

1 Answer 1


for using close button , take one button and then apply rule to that button , go to manage rule then new -> add -> click on action then choose "close form" there this may help you

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.