Hi, create a rule on the textfield, though it will actually change the data.
Set the value of the field to: concat(substring(., 1, 3), "-", substring(., 4, 3), "-", substring(., 7, 4))
Its also possible (and better imho) to apply the rule when it matches the following pattern: \d{10}
Regards,
Albert