Numbers with dash

Hi I’m creating a new app that has a field with a format that will require the user to add an id number that has 2 numbers a dash then 8 numbers anothes dash and a final number, is there a way to adapt a field to have this caracteristics?
here is an example of the number I want to display: 30-95946885-2
Thanks fod the help in advance.

0 2 706
2 REPLIES 2

There is no way to automatically add the dashes, like you see many phone number fields on website forms do.

You can add validation to only accept input in the right format. The following isn’t comprehensive for you scenario, but should get you started:

AND(
MID( [_THIS] , 3 , 1 ) = “-” ,
LEFT( RIGHT( [_THIS] , 2 ) , 1 ) = “-”
)

Steve
Participant V
Top Labels in this Space