Jump to content

Numbering with leading 0's


bhm8hwcm

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...