International Telephone Input

Version 1.0.0 (Compatible with OutSystems 11)
Published on 17 August 2019 by 
4.7
 (3 ratings)

International Telephone Input

Details
A JavaScript plugin for entering and validating international telephone numbers. It adds a flag dropdown to any input, detects the user's country, displays a relevant placeholder and provides formatting/validation methods. Implementation of https://github.com/jackocnr/intl-tel-input
Read More

Reactive Version Released

I recommend using the new reactive version, which has more functionalities and can be use in both mobile and desktop reactive apps.

Recommended Usage (by jackocnr)

The plugin is built to always deal with numbers in the full international format (e.g. "+17024181234") and convert them accordingly - even when nationalMode or separateDialCode is enabled. I recommend you get, store, and set numbers exclusively in this format for simplicity - then you don't have to deal with handling the country code separately, as full international numbers include the country code information.

You can always get the full international number (including country code) using getNumber, then you only have to store that one string in your database (you don't have to store the country separately), and then the next time you initialise the plugin with that number it will automatically set the country and format it according to the options you specify (e.g. if you enable nationalMode it will automatically remove the international dial code for you).

What’s new (1.0.0)
Reviews (2)
2020-01-14
in version 1.0.0
It Works as presented 
2019-08-19
in version 1.0.0
Very useful, thank you developing this plugin