Hi there, InfoPath noob here. Can someone help me with this simple question? Sooooo frustrated right now.
I would like to configure a rule condition based on a lookup dropdown box's selected item. My dropdown box, let's call it lkpLookup, uses a SharePoint list as its data source. And let's say that the three condition dropdown boxes are called Condition Target, Comparison Operator, and Value To Compare.
First, I select the dropdown box "lkpLookup" as the Condition Target. Great. Then I select "is equal to" as the Comparison Operator. Perfect.
When I view the options in the Value To Compare dropdown box, I might hope to see either:
- the Title properties of items from the SharePoint list referenced by the lkpLookup data source.
- an option to "Enter text", where I could enter text to search for a match against list item Title properties.
Instead of this, I see "Type a number...", "Select a field or group...", and "Use a formula...".
Potential solutions
- Would the form work if I was to select "Type a number...", and enter the ID property of the target list item? But why should I have to lookup and hardcode the ID(s) of the list item(s) I'm trying to target? Thankfully, the referenced SharePoint list isn't dynamic, but there must be a solution for dynamic lists where the ID(s) can't be assumed to be static.
- If I change the Comparison Operator to "contains", I now get the Value To Compare option to "Type Text...". But my rule doesn't fire. Even though lkpLookup's field property confirms that the "Get information from this column" is looking at the correct column, I have a sneaking feeling the Value To Compare is still being compared with the ID column of the referenced SharePoint list instead . How can I configure the Condition Target to look at the Title property instead of the ID?
I feel like I have missed a very simple step. Can anyone help me out and tell me what that is?
P.S., My desired action is not to filter another dropdown, i.e. cascading dropdown lists. The action I want to run has nothing intrinsically to do with the queried list item.