How to set up a custom field with specific arrange of numbers
Hello guys!
I created a new field for phone number(in the form is written 'Telefone 1'), but this field is similiar to any other field. ( as you can see here:
http://www.guiarmvale.com.br/add-new/ )
I would like to make the field stay pre-setted like this (_ _) _ _ _ _ - _ _ _ _. So as the user types the numbers, it auto fills the underlined marked areas. Like this:
(1 2) 1 2 3 4 - 1 2 3 4 . (ignore the spaces, I did that to make a more clearer explanation)
I know how to do this in other softwares, but in wordpress I don't have much of a idea. Can anyone please help me?
Thanks in advance.