I have an Infopath browser-enabled form where after information is entered, and a button control is clicked, 2 emails are sent and the form switches to its second view. The form works when debugged in VSTA, the emails are sent, and the form switches to its second view. Because there is code behind the form, the security level was set to Full Trust, signed with a certificate, and uploaded to Sharepoint via Central Administration.
Though in Sharepoint, the form opens in Form Services, and when I click the button, a little pop up window says "Sending data to server" but the emails are never sent and the form doesnt switch to its second view.
What gives?
There might be an error taking place (silently). You may want to wrap your code with error-handing code and then
send the error information to the Windows Event Log for debugging the browser form.
S.Y.M. Wong-A-Ton, owner of the
InfoPath Solutions Blog, and author of 100+
InfoPath articles and 40+
InfoPath - SharePoint integration articles