I'm trying to define custom buttons on my Infopath 2003 (filler) form to achieve simpler submit/save operations for users. My scenario is as follows:
1) User may start filling a new form: in this case I want them to be able to a) Save the form locally (a kind of a draft) or b) submit the form (to a SP library)
2) User may open and modify a form which is already on the SP library; in that case I want them to be able to c) save their changes.
I'm able to discriminate 1) and 2) - also submitting the form works fine, saving changes works fine, but where I'm struggling is on a) making them able to save a local draft, because thisXDocument.Save() will only work if the form is already saved (either locally or on the SP library), whereas thisXDocument.saveas requires a path to the file where to save the form, while I want the save as dialog box to pop up (the first time - as for any office document). That would be what the default save button does, but I'm trying to achieve the same on a custom button to facilitate users which I'm sure would be struggling with Submit/Save...
At the end what I'm looking for is a custom save button which behaves as the default infopath save button. Any help is very appreciated, thanks