Answered
leading zeroes
I have text field in which I will input numbers I need something to add leading zeroes to numbers (6)
if I enter 1, field should show 000001 if I enter 1234 field should show 001234 can you help?
I have text field in which I will input numbers I need something to add leading zeroes to numbers (6)
if I enter 1, field should show 000001 if I enter 1234 field should show 001234 can you help?
You can use this as custom format script:
if(event.value)
event.value = util.printf("%06d", event.value);
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.