Alphabets in Phone field?

This topic contains 6 replies, has 3 voices, and was last updated by  Stiofan O’Connor 5 years, 1 month ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #476867

    vivek
    Full Member
    Post count: 246

    Hi, the phone field in custom fields allows alphabets also. How can this be restricted to accept numbers only?

    thanks!

    #476950

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hello,

    We used to have it set as numbers only but some needed to add extension numbers etc.

    Currently there is not way to do this from settings, but i ahve just made a change which means it will be able to be done from next release, this will involve editing the custom field and entering this is the “validation pattern”

    [\+]\d{2}[\(]\d{2}[\)]\d{4}[\-]\d{4}

    Thanks,

    Stiofan

    #479773

    vivek
    Full Member
    Post count: 246

    Hi Stiofan, just checking if this change is now in the current update?

    thanks!

    #479886

    Alex Rollin
    Moderator
    Post count: 27815

    As of 20055 yes phone fields also support validation pattern.
    You can use the pattern above or another of your own devising.

    #480025

    vivek
    Full Member
    Post count: 246
    This reply has been marked as private.
    #480142

    Alex Rollin
    Moderator
    Post count: 27815

    Thanks yes I can see what you mean. The developers have been alerted.

    #480273

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    You are right, this only enabled the input but it was not being output on all text input fields, this will be fixed in the next version.

    Stiofan

Viewing 7 posts - 1 through 7 (of 7 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket