View Full Version : Set Repeating Section Row active


Steve Workings
06-26-2013, 10:51 AM
I see the functions to set a repeating section row to active. But what I have isn't quite what I need.

My repeating section is two columns - name, and counter

When the user clicks on a name, I want to increment the counter on that row for that name. I have the javascript to do that, but when I click on a row, the counter is incremented for the last row I was on -- e.g. the "Active row" is not the one I just clicked on -- it's the last one that was active.

I need to
1) make the row that I just clicked on the Active Row and
2) increment the counter, based on the "new" active row

I've tried setting the Active Row variable in the Down event then running the rest of the javascript in the Up event, but nothing changes.

To make it worse, I get what I want on the desktop browser -- click on the row I want increments the counter I want. But the problem is on the iPad, which is the main device we'll be using for this component.

Any ideas?

Steve Workings
06-26-2013, 07:27 PM
Update: This was a bug, Selwyn has fixed, it'll be in the next available build.