how to change length for phone number data type?

Is phone number data type the suitable one for user to key in their phone number? We would like to restrict users to key in 8 characters only but cant seem to find a way to restrict it during the entity creation phase if we choose phone number as data type.

do you want to try this to mask the input field to accept only 8 chars in your specified format ! 


https://www.outsystems.com/forge/component-overview/647/custom-input-masks

Hi, 

you can simply change the Max length of the form field. It will work fine. Please check the screens. I hope this will help you,

Thank you,

Sudip

You can use built-in function length() to check if the characters must be 8 digits.

regards