Divide a webfrom textfield component into a specific input format
You can use jQuery masked input plugin to mask the field input.
If you really want to have 3 separate fields, you can do that with JS again. Have one field (let's call it "main" field) where you will save the value and generate the other 3 on the fly. Hide main field and on change update the value by adding the values of those three fields.