These forums were permanently set to read-only mode on July 20, 2022. From that day onwards, no new posting or comment is allowed on the site, but the historical content remains intact and searchable.

A new location for posting questions about PlanetPress Suite is now available:

OL Learn - PlanetPress Classic (opens in new tab)

Topic Options
#50445 - 12/18/14 11:35 AM Not Remove Leading Zeros
Luis Jimenez Offline
OL Newbie

Registered: 01/04/12
Posts: 12
Loc: Colombia

What should I do so that PSM does not remove leading zeros in a numeric field, for example: 01234 | 0012 | .....

Thanks for the help.

#50451 - 12/19/14 10:06 AM Re: Not Remove Leading Zeros [Re: Luis Jimenez]
Raphael Lalonde Lefebvre Offline
OL Expert

Registered: 10/14/05
Posts: 4956
Loc: Objectif Lune Montreal
Hi Luis,

The simplest workaround is to simply change the field type to text. Start by placing your variable in a text box. Then, go in the "Variables" tab, select your variable, and in the Properties, change the category to Text. (if you don't see the Variables, or the Properties windows, they are accessible from the Window menu)

By treating it as Text instead of Number, it will no longer remove the leading zeroes.

Hope that helps!

Raphaël Lalonde Lefebvre