Pad Zero's

I would like to pad zeros onto user input, so an entry of โ€œ425โ€ would convert to โ€œ000425โ€. Something similar to what right(โ€œ000000โ€,[field],6) would do in other code.

I know I can do this with a workflow when saving, but is there a way to convert when the user leaves the field?

0 5 705
5 REPLIES 5

Steve
Platinum 4
Platinum 4

3X_5_9_592f86f9074add8bc04668c39282ea929efa3dd5.png

Steve,

This is a text field so I donโ€™t think that will work. I need to actually pad text 0โ€™s onto the front of the entered value. (No comment on this being a text field, just working with what I was given on this oneโ€ฆ).

Steve
Platinum 4
Platinum 4

Nope. You can add another column with an App formula expression that could generate and store the formatted value, though.

May go that route. Thanks!

try this:

RIGHT(CONCATENATE("000000",[FIELD]),6)

Top Labels in this Space