Avatar

Level 7

Hi,

If all you need is to simply number a set of subforms, one way is to add a script to the initialize event of a field in the subform like:

     $ = Concat("Item #",$.parent.index + 1)

So what you are doing is,

     finding the index of the subform (remember indexes are zero-based) and

     adding 1 to it.

So the first subform will have an index of 0. Add 0 + 1 and you get 1. Then use the Concat function to make it read sensibly

     "Item #"   together with    $.parent.index + 1

makes:

     Item #1

This script is written in formCalc. You can use a "floating" field--depending on your needs.

Hope I haven't totally confused you. It's really easy.

Stephen

If you are wanting to do actual Bates Numbering, here is a link--I haven't read it, however you may find it helpful:

http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/bates_numbering.pdf

Message was edited by: kingphysh