Determining a field's repetition when clicking on it
Posted on 2011-03-11
I have a calculated repeating field which has a button/script attached to it. When the user clicks on it, I want to determine which repetition is being clicked on to inform the scripted action that follows. Nothing I've tried so far has worked. Get( ActiveRepetitionNumber ) produces only a zero because the cursor never enters the field and it's not possible to give an Object Name to each repetition of a field.
( Why am I using repeating fields at all? They have their uses, especially if you want the visual equivalent of a horizontal portal, which you can do using a calculated repeating field.)