How can I store values that include leading zeros on a form?

I am looking to input and display banking information on a form. This information contains routing and account numbers, some of which include leading zeros. When I insert these values into a number box, any leading zero value disappears. How can I display these values while keeping the leading zeros?

Comments

  • Hello, 

    It would be best to store and display these values as strings inside Decisions. Since these values do not hold any numeric value and serve only as identifiers, they do not need to be stored as integers. Displaying as a string would allow you to maintain any leading zeros. By storing as a string datatype, you will then be able to display these values using a Text Box form control. For more information regarding Data Types inside Decisions and form controls, refer to the following documentation:

    About Data Types

    Form Control Glossary

    Thank you,

    Kobe

Sign In or Register to comment.