I'm working on this Infopath list form that supports multiple items in a repeating section. (meaning that when the form was created, under Advanced Options in the last page of the wizard we checked "Manage multiple list items with this form")
Each item on the form has a lookup field that I want to set with a value from a url param.
Have you ever tried to set the value of a lookup field (dropdown) with javascript?
I'm able to get it to work when subsequent items are added to a form that already has 1 item on it, but I'm struggling getting it to work for the first item when the form starts out empty.
Or maybe you know of a way to do it without javascript? I'm already using a url filter webpart to filter the items that get displayed on the form by that same url param.