I have a list in SharePoint and, I customized the form. I have an issue when I submit the data to SharePoint list. When I click on submit button InfoPath form I am getting following error:

"Infopath cannot submit because it contains errors. Errors are marked with either a red asterisk(required fields) or a red, dashed border (invalid values). Any Idea appreciated

NB. I tried using data connection, but not working.

  • I followed this. The error I am getting is due to SameSite attribute setting. Where can I change SameSite setting?
    – Stacey J
    Aug 21, 2020 at 18:15

1 Answer 1


Use the following steps:

Right click the submit button--->Click properties-->Under Action dropdown select Submit--->Click Submit Option--->Select Allow User to submit this form enter image description here

enter image description here


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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