Hi,
I want to add some code before the submit occurs so I changed my submit button from 'submit to web service' to 'custom submit using form code'. I thought I could add my code in the OnSubmitRequest event and then call thisXDocument.Submit() but I get an IP error: 'XDocument.Submit cannot be called from the XDocument::OnSubmitRequest ...