How to run a validation check on a form made in Infopath 2003, before a form is saved in a Microsoft Office SharePoint Server 2007? - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

How to run a validation check on a form made in Infopath 2003, before a form is saved in a Microsoft Office SharePoint Server 2007?

Last post 07-06-2010 06:36 AM by ITsMe. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 07-06-2010 06:36 AM

    • ITsMe
    • Not Ranked
    • Joined on 07-05-2010
    • Posts 1

    How to run a validation check on a form made in Infopath 2003, before a form is saved in a Microsoft Office SharePoint Server 2007?

    We use MOSS 2007 and Infopath 2003. We have a document list wich is based on a Infopath form template. Making new documents and saving them works ok, but a few times users save forms that are not 100 % validated. They get a warning stating that there still are validation errors, but they are nevertheless able to save the form. This is largely ok, since this could be caused by a variety of factors, including not having time there and then to finish the form. But I we could run a validation check upon saving, we could set a field to be true (if validated) or false (if not), and thus adding this info to a column in MOSS 2007. When the administration department checks the list they could consentrate at the validated forms only since it is fairly easy to make a view with a filter in MOSS where only validated forms show up. And the users will see that their unvalidated forms never are prosessed due to their own errors. So they are forced to complete them in order to get things going.

    If I new the correct code I could put it in Sub XDocument_OnSaveRequest(eventObj), but after a lot of searching in this forum and at other sites I am no closer to an answer. I think the logic IS there somewhere, because the "SEND" form function has this partly built in since you cannot send a document by mail if there still is validation errors. And clues to what code and arguments I can use? It is the same whether it is JScript or VBScript as long you state what you are using.    

Page 1 of 1 (1 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.