Skip to main content
Participant
November 23, 2017
Question

How to: Table Cell (Form) - Digit Separator Lines?

  • November 23, 2017
  • 5 replies
  • 1881 views

I'm trying to get those little vertical lines to separate digits in a (printed), they are only half the height of the table cell.

Does anybody know how to do this (without drawing little lines and copying them)?

in%20digits.png

This topic has been closed for replies.

5 replies

Anna Lander
Inspiring
November 28, 2017

do you need it for the printed forms?

Then you can create an additional row with exact height and split it into 6 cells with needed stroke settings. Them your main cell will change its height as you need and the "comb" line will keep the same appearance in any situation.

Community Expert
November 23, 2017

Hi, cc_user_1,

depending on your version of InDesign I see two ways of doing this.
In this post I'll present an option you can do with all versions (that support tables):

Split a cell vertically to 6 cells and do a custom line style for the comb.

Some screenshots:

Some details:

Download the IDML file from my Dropbox account:

Dropbox - TableWithCellsAsComb-UsingCustomLineStyle-CS6.idml

Regards,
Uwe

Community Expert
November 23, 2017

And a little trick: You have to do the splitting of the cell and formatting the inner strokes only one time per column with a single cell.
Then you copy the 6 cells and paste them in easily in all cells of the column in one go.

Regards,
Uwe

//EDITED

manal shanableh
Legend
November 23, 2017

Hi

you can insert vertical line from glyphs, and align them from the table panel, and from character panel amend the baseline shift and you can fix there hight as you like. also you can save them in the character style so you can amend the style simply.

amaarora
Inspiring
November 23, 2017

Hi,

I am sure there must be easier ways but i think you could try "Step and Repeat". All you would need to do is create one small line and then equally distribute it across the cell width for all rows...as a grid...

Enable the preview so you see the changes on the go. I did a quick try and it worked. As you can see below the small line is distributed as a grid of 4 rows and 5 columns. Once created you can manage the small lines by grouping them or adding them to a separate layer.

-Aman

rob day
Community Expert
Community Expert
November 28, 2017

I am sure there must be easier ways but i think you could try "Step and Repeat".

Seems like 's pipe version is the most flexible solution. You can get even spacing of the pipe glyph via center alignment and tracking, and manipulate the height and thickness via horizontal and vertical scaling

Here tracking is 160, Vertical scale is 50%, and the baseline is shifted 1pt to align with the cell bottom. The cell's text is set to Align Bottom.

Then global adjustments could be made via a style sheet. Here I've changed the color and height of the comb.

Steve Werner
Community Expert
Community Expert
November 23, 2017

What you want is called a "comb."

Are you trying to create a field for a PDF form? Or is it only for a printed form?

If for a PDF form, here's a link to the Help file describing PDF  form files. Look in the section on Text Fields > Comb of Characters:

PDF form field properties, Adobe Acrobat

If for only a printed form you would probably need to draw and duplicate the lines of a comb either in InDesign or Illustrator. In InDesign, for example, you could use Edit > Step and Repeat.

Participant
June 6, 2023

Why are the form features in Acrobat vastly different to those in Indesign?