I am trying to set a conditional formatting on a drop down list whose data source is a SharePoint List. The Info Path form is opened in a browser.
The conditional formatting goes something like this
Field Name does not contain Value[Name = "PreferredName"]
The Vale[Name = "PreferredName"] comes from GetUserProfileByName where the parameter (accountname) is left blank so I get the current user.
With the condition, I am trying to say if Field Name does not contain the current user's name then disable this control, but it is not working?
Is it possible to use "does not contain" with a drop down list? Will it check all the values in a drop down list against Value[Name = "PreferredName"]?