How to limit inputted digits in numeric type field

Hi just want to inquire on how we can limit the number of digits being inputted in numeric field.
Say i only want the user to input up to 5(e.g. 0-99999) digit number, how can i set up my numeric field to restrict the digit to 5 only?

Thank you!

In the properties of your Numeric Text Field, under Behavior check “Use Bounds”. In the Data section, set 0 as the minimum and 99999 as the maximum.