Quantcast
Channel: SharePoint Legacy Versions - Using SharePoint Designer, InfoPath and Other Customizations Forum
Viewing all articles
Browse latest Browse all 2319

Add a button to infopath form to save it to its current submitted location

$
0
0

Hi,

I have an infopath form that is a content type in SP2007 form library. I submit this form programmaticaaly to the form library. I want to add a button to the form to perform save instead of using the save button in form as I want to close the form after saving I tried using the option of saving programmatically and adding this.activewindow.close but it gives error and when I searched I found that this function can't be called in save event so I want to add a button to save and close. I found some ideas of using xdocument but I couldn't get it into the code. I don't know if there is a directory missing or what so kindly advise how can I achieve this.

Thanks in advance.


Viewing all articles
Browse latest Browse all 2319


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>