Ordinal Numbers in a related form

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
Sonoma
Posts: 88
Joined: Wed Oct 15, 2014

23 Feb 2015

Any thoughts on automatically adding ordinal numbers as needed to a related form?

1st row...

2nd row

...

9th row

10th row



Thanks.

User avatar
Dmitry Kozlov
Site Admin
Posts: 1524
Joined: Thu Jun 07, 2012

24 Feb 2015

Hi,

You can switch Render property of the Related items into Client, include additional JSLink into the View property:

<View>
...
<JSLink>clienttemplates.js|~sitecollection/style library/custom.js</JSLink>
...
</View>
and customize the view template in the custom.js file by adding Row Number column:

http://zimmergren.net/technical/sp-2013 ... point-2013

Sonoma
Posts: 88
Joined: Wed Oct 15, 2014

14 Jul 2016

Revisiting this. Never really figured out the above. We just chose to do it manually.

I ran into something I have not tried before and I can't seem to figure it out in my repeating list.



I was thinking I could do this fairly simple using a caculated field and get the row index().

Would this be possible?

I can get by with not having the ordinal numbers but having this would be ok.

Regimen 1

Regimen 2

Regimen 3

Regimen ...

Regimen ...

Regimen 25

Thanks.

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 8 guests