SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a Custom Document Information Panel on a Microsoft SharePoint 2010 Document Library. In the DIP, I have fields in which custom InfoPath rules have been written to validate certain fields. For example there is a From Date and To Date where an InfoPath rule validates that To Date should be greater than From Date. The validation rule also highlights the box which has an error.

Now the issue is, when the user presses Save, word validates only REQUIRED properties and does not respect the DIP validation errors, which means the user can still go ahead and save the document into the document library.

How do we avoid this? Any ideas?

share|improve this question

I haven't tried this in a document library, but you might find Column Validation a valid replacement for the InfoPath rules.

Ian Morrish wrote a good visual walkthrough of the new feature.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.