I create a infopath form using InfoPath Form services. In this i am progrmmatically switching the views to show errors or mandatory fields. After view switched, user wants to close the form. Instead of closing the form, the page is reploading. I dont know why
the only difference i noticed is XMLLocation is repalceing %20 with +. You can see the following url before and after view switched
May be it not related to the closing form issue but this is the only difference i noticed. If view not switched, the form is successfully closing.
Edited byMike Walsh FINThursday, September 03, 2009 4:56 AMDo NOT say things are "kind of urgent" (or similar) in your texts. Ring MS Customer Support Services if you are in a hurry. If you post here accept the norms of forum usage and WAIT (and hope) for answers. Don't push us.
I stumbled upon this post yesterday and it turns out that I had posted the same issue elsewhere on the forum. This posting helped trigger the thinking that ultimately resovled the issue.
It turns out that it has nothing do do with the "+" or with code. Instead, this is a quirk or bug in the InfoPath form services. If you open a form without the &Source parameter, change views then close the form, it will reopen instead of
display "The form has been closed."
Microsoft is conducting an online survey to understand your opinion of the Technet Web site. If you choose to participate, the online survey will be presented to you when you leave the Technet Web site.