Marking Repeater Rows using Axure Javascript API

I am trying to mark a certain row in a repeater using javascript.

I have been trying to use this:

However, I am unsure of how to specify which rows to mark using a rule. For example, I want to mark a row if it’s score property is ‘0’.



You won’t be able to target it by name in javascript, as its name is the same for each row. I imagine there’s a reason that you want to use javascript, but you can do this with the Mark Rows command:

Oh wait - if you want to use javascript, you might take a look at this site. Particularly, this example. It doesn’t cover marking rows, but it might get you started in that direction.

1 Like