Hello all
I have created a infopath 2003 sp2 template that can be submited to 3 sharepoint libraries (Wss v2). I have 3 buttons with rules using 3 different submit data connections.
Using the button properties and rules, it works great, BUT, i require that a confirmation dialog to appear before proceeding with the submission.
1) Is there a way using rules?
I already tried a different approach using code.
By using the following code i can ask the confimation, but i can not "trigger" the
submit data connections.
XDocument.UI.Confirm("Do you want to submit this request?",1);
2) Can i "trigger" the submit to wss form libs data connections from code?
So i went off again and found this KB article on submitting via http using jscript:
http://support.microsoft.com/kb/826993If use the submit from File Menu, it only allows to continue if validations are OK, BUT, using a button to run the code it does NOT validate "can not be blank fields, etc".
3) How can i trigger validation, and get a result ( OK or failed) using jscript, so that i can prevent the submit action?
Thank you very much. So far this is the best Inpath knoledge center I know.