Get(ActiveRepetitionNumber)
Category: Get
Syntax: Get ( ActiveRepetitionNumber ) |
Parameters: None
Data type returned: Number
Description:
Returns the number of the active repetition (the repetition in which the cursor currently resides) for a repeating field. Repetition numbers start with 1.
If the cursor is not in a field, 0 is returned.
When using Get() functions within field definitions, in most cases you should set the storage option to be "unstored" so that the field always displays current data.
Examples:
Function |
Results |
---|---|
Get ( ActiveRepetitionNumber ) |
Would return 2 when a user was clicked into the second repetition of a field. |