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 list .

I edit the form with infopath. When I do the new information if required field is empty ,the following error

InfoPath cannot submit the form because it contains errors. Errors are marked with either a red asterisk (reguired fields) or a red , dashed border (invalid values).

share|improve this question

This is standard infopath error notification mechanism(if form is opened in browser). This message means that value for one of your field is empty(or some invalid values as message says). Required field indicates with red star by default. But you can customize tool tip for required field and apply some formatting if field is empty (for example red background if field value is empty).

To do this, you need to uncheck "Cannnot be blank " settings for control and then add custom rule: Home ribbon tab, Rules-> Ad Rule->Is Blank->Show Validation Message or\and Formatting(bad). Two rules will be added to our field, in rule settings you can specify what formatting to apply and validation screen tip.

share|improve this answer
thanks a lot , I defined a custom role, but again the error – ar.gorgin Dec 26 '11 at 4:56
When does this error appear? When your field value and you click "Save"? – Kai Dec 26 '11 at 8:57
when field is empty and click "Save" – ar.gorgin Dec 26 '11 at 9:13
Ok, this is expected InfoPath behavior, this error indicates, that you need fill all required fields – Kai Dec 26 '11 at 9:34
I set custtom rule : is blank->screentip : this filed cannot be blank ->show screentip only , but show this messagebox – ar.gorgin Dec 26 '11 at 9:58

See this link:

I hope it will be helpful.

share|improve this answer
While this may theoretically answer the question, we prefer inclusion of the essential parts of the answer here, and to provide the link for reference. See answer for general guidelines. – SPDoctor Oct 17 '12 at 12:12

Seems to be going something wrong in role you defined. Can you please elaborate your question more so I can get more Idea.

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.