set number format in a form

I set up a input int field in a form.

I want to set this int field is 3 ints as <000>.

I expect the result is <003> if I input is <3>.

I expect the result is 3 ints if I input is 1 int.


form does not have such functionality. it have bumbers-formats but w/o leading zeros
you can attach “onChange” or “onInputChange” and format value manualy