I would like users to enter a 10 digit number and later have it formatted
e.g 1234567890 into (123) 456-7890. I have tried using the formatPattern virtual function with the field definition rules macro and the IFTTT rules macro but it isn't changing the format.
Function: formatToPattern((\d{3})(\d{3})(\d+), ($1) $2-$3)
Thank you