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

Notices

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old August 4th, 2011, 12:51 PM
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.

thanks
Reply With Quote
  #2  
Old August 4th, 2011, 03: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

bhm8hwcm
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
Reply

Tags
numbering

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 05:17 PM.


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