I have been searching for a week now to find an answer to this. It cannot be that hard and it looks like in Infopath 2007 there are tools to make it easier but I have to use Infopath 2003 so any help would be awesome.
I have a listbox, doesn't have to be a list box but for the moment it is a listbox that is bound to a filtered secondary data source which is a Sharpoint Form Library. I have all the columns I need exposed, The filter is based on a field on the current form.
What I need to do is loop-thru the list box after it populates using Infopath 2003 JS. The looping would be triggered by a button that is already performing some other actions.
I know this can't be that hard and I have found numerous examples of doing this but it's always based on VB or C# and/or is using commands like the navigator object which I don't believe is available in Infopath 2003?
I know I need to count the items in the listbox first and the perform some time of FOR LOOP but I just can't seem to get it right.
Thanks in advance for your help!!!