I am trying to hide a button and make it visible only when all the items in a drop-down are selected and submitted one after another.
I used the AND function and my code is shown below
In the Visible property of the Button, And (DataCardValue6.Selected. Value = "Board Secretariat / Legal Advisory", true, DataCardValue6.Selected. Value = "Corporate Communications Department", true, DataCardValue6.Selected. Value = "Finance and Accounts", true)
What I am trying to achieve is to make the button visible when a user has selected the values in the drop-down control and submitted all the values to a SharePoint list.
When I use an or operator instead of an AND operator, the button becomes visible once any value is selected in the drop-down control and this negates the condition of making the button visible only when all the values have been selected and submitted
Any suggestions on what to do
Kind regards