Will Loving
asked on
Determining a field's repetition when clicking on it
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.)
( 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.)
Hi willmcn,
I think you could have separate buttons over the repetitions and pass a parameter to the script depending on which buttons is clicked.
I think you could have separate buttons over the repetitions and pass a parameter to the script depending on which buttons is clicked.
ASKER
It would work, but unfortunately that would mean 18 buttons. I just tested my script trigger solution which took at two minutes to setup and it works perfectly. Being in the field also allows to grab other related values at the same time before exiting. As far as the user is concerned, they never now the difference.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
This question has been classified as abandoned and is being closed as part of the Cleanup Program. See my comment at the end of the question for more details.
ASKER