Go Back   MarcomCentral (PTI) and FusionPro User Communities > Software-Related Talk > FusionPro® VDP Creator


Thread Tools Search this Thread Display Modes
Old August 4th, 2011, 11:51 AM
bhm8hwcm bhm8hwcm is offline
Junior Community Member
Join Date: Aug 2011
Posts: 17
Default Numbering with leading 0's

I am new to using Fusion Pro and I have to do a numbering job running from 1-90,000.

Client wants leading 0s so numbering will be 00001 - 90000. Not sure how to do javascript rule to accommodate starting 0s.

Reply With Quote
Old August 4th, 2011, 02:20 PM
FreightTrain's Avatar
FreightTrain FreightTrain is offline
Learning Development Manager
Join Date: Oct 2008
Location: Solana Beach, CA
Posts: 326
Default Re: Numbering with leading 0's

Depending on the version of FPD you have there is most likely a prebuilt XML rule already available. It is called "Pad with leading zeros Rule"

If not this will also work

return FormatNumber("00000", Field("Your Field Name Here"));

Hope this helps
Richard A. Lewis, Jr.
Learning Development Manager | MarcomCentral® a Ricoh Company
Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -7. The time now is 11:08 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
(c) 2011, PTI Marketing Technologies™, Inc.