How in Orbeon Forms in a repeted grid in the No. column get the numbers 1,2,3, etc.?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How in Orbeon Forms in a repeted grid in the No. column get the numbers 1,2,3, etc.?

czajw
I am new in Orbeon. How in Orbeon Forms in a repeted grid in the No. column get the numbers 1,2,3, etc.? As in the picture below

Sent from the Orbeon Forms community mailing list mailing list archive at Nabble.com.

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1591774836450-0.post%40n4.nabble.com.
Reply | Threaded
Open this post in threaded view
|

Re: How in Orbeon Forms in a repeted grid in the No. column get the numbers 1,2,3, etc.?

mbojja
Hi, you can use the below xpath in calculated value of the text field in repeated grid. Hope this helps!

count(../preceding-sibling::*) + 1




On Friday, June 12, 2020 at 8:04:44 AM UTC+8, czajw wrote:
I am new in Orbeon. How in Orbeon Forms in a repeted grid in the No. column get the numbers 1,2,3, etc.? As in the picture below

Sent from the <a href="http://discuss.orbeon.com/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdiscuss.orbeon.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF5V5zfD-87RVoalaG4cqO_RzdDcA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdiscuss.orbeon.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF5V5zfD-87RVoalaG4cqO_RzdDcA&#39;;return true;">Orbeon Forms community mailing list mailing list archive at Nabble.com.

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/7683b4d0-e657-4d27-ab3f-fdde6a43f0d1o%40googlegroups.com.