I need to add a leading 0 when the number is 4 digits. My results should always be 5 digits. Ex if number is 1234, should be 01234. If number is 12345, number should be 12345.
I have the below script but it is not quite working. Any assistance is appreciated. Thank you!
If the issue is that you aren’t sure how to implement this in the datamapper then you must add an “Action” step after your extraction and add the following line to the expression box in the “Run Javascript” pane along with your function: