• Resolved mp.aspinall

    (@mpaspinall)


    Hi,
    This plug-in is just superb, limited only by one’s imagination.

    The only thing which has stumped me is the Custom formatting of the phone number field.

    Being in the UK, I want to make a format of 99999-999999. I’ve done this in the Custom Style Field Settings, but when I run the form I always get the (999)999-9999 format.

    Can someone point me in the right direction please?

    Thanks, Martin

    https://wordpress.org/plugins/caldera-forms/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter mp.aspinall

    (@mpaspinall)

    Hi again.

    I have kind of solved this. I changed the field type to a Single Line Text and then Masked the Input to 99999-999999.

    This gives the output that I want.

    Thanks Martin

    Plugin Author Josh Pollock

    (@shelob9)

    Yes, that’s exactly what I was going to say. We should have input mask presets, like a dropdown for different possibilities.

    Hi, just as a follow up to this.

    If there is a custom option, shouldn’t this enable you set a custom input mask, or am I miss-understanding the custom option?

    I too am very happy with this plug and to have found this to by the only thing that has me stumped.

    I can use a text field but, if there’s number field with an option to set a custom input mask, shouldn’t we be using that?

    It’d be great to hear what your opinion on this is.

    Thanks,

    John

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Phone number formatting’ is closed to new replies.