This sample Kintone plug-in copies the value from a number field into a text field, and then fills the beginning of the text field with zeros until the text field reaches the specified number of digits.