
I have a multi-select choice field on a customised SharePoint list form and I want to disply a message if a user selects any option from this choice field. Basically, if the chouce field isn't blank then I want the message to be displayed. The code set on the Visible property for the message label card is as follows:
Not(IsEmpty(DataCardValue17.SelectedItems.Value))
The thing I'm confused about is that this works fine if the form is in Edit mode. However, if it's in New mode then the message displays straight away even when the choice field is blank. I can't work out why this would be so any pointers as to what could be causing this would be very welcome?
Thanks in advance for your help.
@Anonymous
Consider changing your formula to the following to see if it is more helpful for you:
(CountRows(DataCardValue17.SelectedItems) >0 )
This will return true for your Visible property if there is anything selected.
I hope this is helpful for you.