JaimeeLynne-3087 avatar image
0 Votes"
JaimeeLynne-3087 asked ChelseaWu-MSFT commented

InfoPath - Errors on Submit even though all Mandatory Fields are Complete

Hi! Please help! I'm tirelessly trying to figure out where the problem is on my InfoPath form but am at a loss. The form has some formatting rules on a handful of fields to 'hide this control' when the specific condition is met and I have also added a validation rule on these fields le as they must be populated. I have ensured that the validation tick-box (cannot be blank) is not selected on the fields that have rules on them. When I go to click the submit button I get the message "InfoPath cannot submit the form because it contains errors. Errors are marked with either a red asterisk (required fields) or a red, dashed border (invalid values). Use Ctrl + Shift+O to go to the next error. Use Ctrl+Shift+I to view error details." So, when I click ok, the form does not bring me to any field, I have to hit Ctrl+Shift+O Twice and it then brings me to a field that WAS populated and only has a blue border around the field. There is no error in how the field is filled out, and I can't figure out why it won't submit. The field the form brings me to has both a formatting and a validation rule on it but it's nothing sophisticated Just when "xyz is blank" show tip - Required and then when condition is met hide the control. What am I missing here? Any guidance would be much appreciated. thank you in advance!

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ChelseaWu-MSFT avatar image
0 Votes"
ChelseaWu-MSFT answered ChelseaWu-MSFT commented

Hi @JaimeeLynne-3087, thank you for posting in the Q&A forum.

Please confirm:
Can you see the detailed error message if you hit Ctrl+Shift+I on prompt? Technically, it will display the name of the field causing this error.
And do you have other settings on the form except for Rules, such as Default Value, limit number of characters, etc.?

I suggest you go through the fields one by one, here are a few things you can try:

  1. Deselect the checkbox of Validation (“cannot be blank”) for other fields (with no Rules applied).

  2. Temporarily remove the Formatting Rules (“Hide this control”) and use Validation Rules with ScreenTip instead, see if the issue remains.

  3. Delete the fields that are not used in the form if any.

Another post with same error for your reference: Infopath validation issue.

If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @JaimeeLynne-3087 , do you have any progress on this thread? Please feel free to let us know if you need further assistance.

0 Votes 0 ·

Hi @JaimeeLynne-3087 , I’m checking on how things are going on with this thread. Please remember to update this thread if you have any progress.

0 Votes 0 ·