Hello experts,
I am building an app for visitor request automation. I see the submit form doesn't have an issue updating the form inputs in SharePoint. I tested it by just using a submitform code in a sample button.
In my code, when I commented the below, the error message did not show up. So I strongly believe there is something wrong in the below code which is bringing up the "An entry is required or has an invalid value" error message.
UpdateIf(VisitorRequestList,PD_Visit_Required="true" And 'Approval List Gallery_1'.Selected.UniqueID=UniqueID And User().Email = ApprovalForm_1.LastSubmit.'PD Manager'.Email, {PD_Manager_Approval:"Approved"});
UpdateIf(VisitorRequestList,VE_Visit_Required="true" And 'Approval List Gallery_1'.Selected.UniqueID=UniqueID And User().Email = ApprovalForm_1.LastSubmit.'VER Manager'.Email, {VE_Manager_Approval:"Approved"});
UpdateIf(VisitorRequestList,CA_Visit_Required="true" And 'Approval List Gallery_1'.Selected.UniqueID=UniqueID And User().Email = ApprovalForm_1.LastSubmit.'CA Manager'.Email, {CA_Manager_Approval:"Approved"});
The Title field in the SharePoint list is "Required" and it is a Required field in the form as well. There is always data in this field. No other fields are mandatory in the form or the list.
I double checked if there are any hidden fields that are marked as "Required". Except the Title, none of the fields mandatory. Not sure what I am missing here. Struggling to fix this error for quite a long time. Your help is much appreciated.


