Hello everyone,
I was trying to populate Approver's Name and Email address filter from a List (ApproverList) in to another Form (RequestForm) datacard so that when I save the request from, the data from another list save in RequestList. Such as
Request List: RequestList
Fileds: ID, ApproverName (txt), ApproverEmail (txt) and other fields for requestor
Form: RequestForm
Approver List: ApproverList
Fields: ID, ApproverName (Person), Team (Choice), Section (Choice), Type (Choice)
I would like to Filter the ApproverList such as, Category=Approver and Team=ICT And FO=CXB based on another datacard (DataCardValue75) on the RequestForm and prepopulate the filtered data in to the same form's another data cards AproverName Name and ApproverEmail respectively so that the user can see the prepopulated data (approver's name and email) filed before summitting the form. I have done something but somehow the lookup function is not working properly.
RequestForm

If DataCardValue75 value is "Cox's Bazar" then select the approver whos Team="Admin" and Category="Approver" and FO="CXB",
otherwise select the approver whos Team="Admin" and Category="Approver" and FO is not ="CXB"
If(
DataCardValue75.Selected.Value = "Cox's Bazar",
LookUp(
'ExitCL02-Approvers',
Category.Value = "Approver" And Team.Value = "Admin" And FO.Value = "CXB"
).Name.DisplayName,
LookUp(
'ExitCL02-Approvers',
Category.Value = "Approver" And Team.Value = "Admin"
).Name.DisplayName
)
Is there any other way that I should follow? Looking forward to your idea and solution.
Thanks
Leo