Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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
add comment

3 Answers

See this link:

http://social.msdn.microsoft.com/Forums/en-US/sharepointinfopath/thread/5428ea5b-11fc-4543-98e8-160fa993aaf6/

I hope it will be helpful.

share|improve this answer
1  
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
add comment

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
show 2 more comments

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
add comment

Your Answer

 
discard

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.