Please Help!
I have a customized from from a SharePoint List. I have a multi-select Drop Down with 3 values: "2 Monitors", "Laptop/Desktop", and "Mouse".
OnChange, I need to set a variable to what IS NOT selected. So if "2 Monitors" and "Laptop/Desktop" are selected, the variable will show "Mouse", etc.
I tried an IF statement but it will only pass the first argument and some just flat out don't work at all. I've used &, &&, ||, and regular IF.
If(
Not(
"2 Monitors" in DataCardValue5.SelectedItems),
Set(VarMonitorMissing, " 2 Monitors "),
Not(
"Mouse" in DataCardValue5.SelectedItems),
Set(VarMouseMissing, " Mouse "),
Not(
"Laptop/Desktop" in DataCardValue5.SelectedItems),
Set(VarComputerMissing, " Laptop/Desktop ")
)
If( "2 Monitors" & "Mouse" & "Laptop/Desktop" in DataCardValue5.SelectedItems, Set(varMissing," "),
"2 Monitors" & "Mouse" in DataCardValue5.SelectedItems, Set(varMissing, " Laptop/Desktop") ,
"2 Monitors" & "Laptop/Desktop" in DataCardValue5.SelectedItems, Set(varMissing, " Mouse ") ,
"Mouse" & "Laptop/Desktop" in DataCardValue5.SelectedItems, Set(varMissing, " 2 Monitors " )
)
These will then show a message to the user and send an email to IT telling them which equipment the user needs to proceed.