Hi ,
I am trying to search a value in a multiple selection dropdown (SharePoint list field) in PowerApps form. Based on the value in the selection I need to send email to different email ids. I am storing the email in a variable and using the variable in the html to send email.
The problem is, the record in SharePoint is created when a form is submitted through MS form, it adds [ ] and "" to the selection like ["Altona - Melbourne"]. I cannot search "["Altona - Melbourne"]" as it adds up more quotes and throws error. Below is my code. What is the best approach to do the search text along with [" "]? Any help is really appreciated.
If(
"Altona - Melbourne" in AccessRequiredSitesTxtbox.SelectedItems.Value || "Adelaide - CRO" in AccessRequiredSitesTxtbox.SelectedItems.Value ||
"Darwin" in AccessRequiredSitesTxtbox.SelectedItems.Value, Set(var_AltonaEmail,"Email1.com"), Set(var_AltonaEmail,""))
If(
"Port Melbourne - Melbourne" in AccessRequiredSitesTxtbox.SelectedItems.Value ||
"Sydney - Moorebank Training Centre" in AccessRequiredSitesTxtbox.SelectedItems.Value, Set(var_AltonaEmail,"Email2.com"), Set(var_AltonaEmail,""))

Report
All responses (
Answers (