Name
index( ) — returns the current index for a given repeat set
Synopsis
Defined in: XForms 1.0 |
Parameters: string repeat-idref (required) |
Return type: number |
XForms includes the notion of repeating content that holds a current index. This function is an accessor for that index.
A full example requires a “repeating structure” setup with XForms user interface markup. Further information and examples are available in Chapter 6.
Get XForms Essentials now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.