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

22 views
Skip to first unread message

czajw

unread,
Jun 11, 2020, 8:04:44 PM6/11/20
to orb...@googlegroups.com
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.

Mani

unread,
Jun 11, 2020, 10:11:15 PM6/11/20
to Orbeon Forms
Hi, you can use the below xpath in calculated value of the text field in repeated grid. Hope this helps!

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

Władysław Czaja

unread,
Feb 15, 2021, 4:10:16 AM2/15/21
to Orbeon Forms
I found this works in repeated grid but not in repeated section.

in repeated section: 1, 2, 2, 2 ...

Alessandro Vernet

unread,
Feb 15, 2021, 7:55:32 PM2/15/21
to orb...@googlegroups.com
Vlad, try:

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

-Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/
Reply all
Reply to author
Forward
0 new messages