Tuesday, January 06, 2004

I was talking to one of my co-workers today and he posed an interesting question that just my coding juices flowing. Here is the base scenario with InfoPath that he was looking for.

Let's say that I have a repeating table that contains names and login names. I want to loop through the repeating table while checking to see if the login name matches anything in the list. If it matches I want to turn on a checkbox.

With the coding juice flowing I put together the sample. Basically, it uses InfoPath object model and JavaScript to loop through a repeating table after capturing the login name using the Wscript object. Take a look you can download the form from here.


11:04:42 PM